----------------------------------------
* CRM-12678: PseudoConstant.php on line 122 returns value not reference
http://issues.civicrm.org/jira/browse/CRM-12678
return self::$country[$id];
}
else {
- return NULL;
+ return CRM_Core_DAO::$_nullObject;
}
}
return self::$country;
return self::$countryIsoCode[$id];
}
else {
- return NULL;
+ return CRM_Core_DAO::$_nullObject;
}
}
return self::$countryIsoCode;
return self::$county[$id];
}
else {
- return NULL;
+ return CRM_Core_DAO::$_nullObject;
}
}
return self::$county;
return self::$worldRegions[$id];
}
else {
- return NULL;
+ return CRM_Core_DAO::$_nullObject;
}
}
*/
static function countryIDForStateID($stateID) {
if (empty($stateID)) {
- return NULL;
+ return CRM_Core_DAO::$_nullObject;
}
$query = "