Commit:    f7f905a9235793e614ea9a4a6ececd3c95e60cb3
Author:    Anatol Belski <[email protected]>         Mon, 28 Nov 2016 17:03:19 +0100
Parents:   1b85ed86738af30ed2dcee8b69037e4284b1e1bc
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f7f905a9235793e614ea9a4a6ececd3c95e60cb3

Log:
fix props access

Changed paths:
  M  include/Branch.php


Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 01cea31..8e7e33d 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -62,7 +62,7 @@ class Branch {
                $last_id = $this->repo->getLastCommitId();
                /* Either there's no db file at all yet, or this is the last 
required build run. */
                if ($this->requiredBuldRunsReached() && (strcasecmp($last_id, 
(string)$this->data->revision_last) != 0 || strcasecmp($last_id, 
$this->data->revision_previous) != 0)
-                       || NULL == $this->revision_last && NULL == 
$this->revision_previous) {
+                       || NULL == $this->data->revision_last && NULL == 
$this->data->revision_previous) {
                        $this->data->revision_previous = 
$this->data->revision_last;
                        $this->data->revision_last = $last_id;
                        $json = json_encode($this->data);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to