Sync: fix negation lost at ca76f30

This commit is contained in:
Thomas Gelf 2016-02-25 00:12:10 +01:00
parent 79f4aec592
commit f0d02edbe6

View File

@ -187,7 +187,7 @@ class Sync
if ($row instanceof IcingaObject) { if ($row instanceof IcingaObject) {
return $row->$var; return $row->$var;
} }
if (property_exists($row, $var)) { if (! property_exists($row, $var)) {
return null; return null;
} }