diff --git a/onyx2/include/Class/Donnees/spatial.php b/onyx2/include/Class/Donnees/spatial.php index c03e2af..56c772b 100644 --- a/onyx2/include/Class/Donnees/spatial.php +++ b/onyx2/include/Class/Donnees/spatial.php @@ -586,10 +586,10 @@ class dSpatial implements Donnees - public static function needed($id, surface $planete, $print = false, $race = NULL) + public static function needed($id, surface $planete, $print = false, $race = null) { - if ($race == NULL) { - $race = $planete->race; + if ($race == null) { + $race = $planete->race; } if ($race == "humain") { $neededSpatial = diff --git a/onyx2/include/Class/Donnees/terrestre.php b/onyx2/include/Class/Donnees/terrestre.php index dff3764..005413e 100644 --- a/onyx2/include/Class/Donnees/terrestre.php +++ b/onyx2/include/Class/Donnees/terrestre.php @@ -621,10 +621,10 @@ class dTerrestre implements Donnees } - public static function needed($id, surface $planete, $print = false, $race = NULL) + public static function needed($id, surface $planete, $print = false, $race = null) { - if ($race == NULL) { - $race = $planete->race; + if ($race == null) { + $race = $planete->race; } if ($race == "humain") { $neededTerrestre = array(