Commit: 35e65c586c075ae57bacc888ec12556f43c4f848 Author: Anatol Belski <[email protected]> Tue, 13 Dec 2016 01:36:14 +0100 Parents: 78b56c89463fac74e4ab5f279a63389cd13d4906 Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=35e65c586c075ae57bacc888ec12556f43c4f848 Log: fix warning Changed paths: M include/Branch.php Diff: diff --git a/include/Branch.php b/include/Branch.php index b0a754f..412c51f 100644 --- a/include/Branch.php +++ b/include/Branch.php @@ -97,7 +97,7 @@ class Branch { public function requiredBuildRunsReached() { /* XXX 4 stands for all the combinations, scan the files to get this number from there instead of hardcoding. */ - if (!$this->data->builds || empty($this->data->builds)) { + if (!isset($this->data->builds) || empty($this->data->builds)) { return true; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
