if ($oLookup) {
$aPlaces = $oPlaceLookup->lookup(array($oLookup->iId => $oLookup));
- if (sizeof($aPlaces)) {
+ if (!empty($aPlaces)) {
$aPlace = reset($aPlaces);
}
}
$aPlace = array_merge($aPlace, $aOutlineResult);
}
} else {
- $aPlace = [];
+ $aPlace = array();
}
logEnd($oDB, $hLog, sizeof($aPlace)?1:0);