com web/rmtools: Fix condition: include/Branch.php
| From: | Anatol Belski | Date: | Mon, 18 Sep 2017 07:13:40 +0000 |
| Subject: | com web/rmtools: Fix condition: include/Branch.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26408@lists.php.net to get a copy of this message | ||
Commit: 9920e2f5d82d1fceb558c4d5cde008da017481a2
Author: Anatol Belski <ab@php.net> Mon, 18 Sep 2017 09:13:40 +0200
Parents: f22c2591172301ca7fbd225cf0d86d74c4dff35a
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=9920e2f5d82d1fceb558c4d5cde008da017481a2
Log:
Fix condition
Changed paths:
M include/Branch.php
Diff:
diff --git a/include/Branch.php b/include/Branch.php
index c137038..c10db48 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -137,7 +137,7 @@ class Branch {
{
$last = $this->repo->getLastCommitId();
- return $last && !$this->isLastRevisionExported($last) ||
is_null($data->revision_last);
+ return $last && !$this->isLastRevisionExported($last) ||
is_null($this->data->revision_last);
}
public function export($revision = false, $build_type = false, $zip = false, $is_zip = false)