Commit d9a8efb7 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #301 in ZP/z-push from bugfix/ZP-991-fix-evaluation-order-for-php-7 to develop

* commit '3e1dc635':
  ZP-991 Fix evaluation order for PHP 7.
parents 10508fac 3e1dc635
......@@ -202,7 +202,7 @@ abstract class SyncObject extends Streamer {
foreach ($this->mapping as $k=>$v) {
// Do not bother with the properties for which notifications aren't required
// or if they are not set
if (!isset($v[self::STREAMER_RONOTIFY]) || !$v[self::STREAMER_RONOTIFY] || (!isset($this->$v[self::STREAMER_VAR]) && !isset($odo->$v[self::STREAMER_VAR]))) {
if (!isset($v[self::STREAMER_RONOTIFY]) || !$v[self::STREAMER_RONOTIFY] || (!isset($this->{$v[self::STREAMER_VAR]}) && !isset($odo->{$v[self::STREAMER_VAR]}))) {
continue;
}
$val = $v[self::STREAMER_VAR];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment