diff --git a/class/employe.php b/class/employe.php index cd4108c1de20f75ec0be328ee77a49a340f358b6..8b976ae6d185bd3c5354b4cc606ca980fdabdee3 100644 --- a/class/employe.php +++ b/class/employe.php @@ -12,7 +12,7 @@ class Employe extends Personne ), "id_national" => array( "label" => "Identifiant national", - "i" => 10 + "i" => -1 )); public function id_national() diff --git a/class/objet.php b/class/objet.php index f607cbe305a7bd7bda1e8d0758be2eb75daf8531..a68dc518b0d92dd14d79ac8e5d982e0737238839 100644 --- a/class/objet.php +++ b/class/objet.php @@ -68,6 +68,8 @@ class Objet } else { $field->i = 5; } + if($field->i == -1) + continue; $ret[] = $field; } usort($ret, function($a, $b) {return $a->i - $b->i;} );