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
1 changed files with 1 additions and 1 deletions

View File

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