protected function _map_fk($lItem, $fk, $type) { //Location has no 0 "undefined" value if ($fk == 'home_location_id' && $lItem->{$fk} < 1) { return null; } return parent::_map_fk($lItem, $fk, $type); }