Skip to content
Snippets Groups Projects
Commit 537c9644 authored by clement's avatar clement
Browse files

c

parent df78c9bd
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ class Employe extends Personne ...@@ -12,7 +12,7 @@ class Employe extends Personne
), ),
"id_national" => array( "id_national" => array(
"label" => "Identifiant national", "label" => "Identifiant national",
"i" => 10 "i" => -1
)); ));
public function id_national() public function id_national()
......
...@@ -68,6 +68,8 @@ class Objet ...@@ -68,6 +68,8 @@ class Objet
} else { } else {
$field->i = 5; $field->i = 5;
} }
if($field->i == -1)
continue;
$ret[] = $field; $ret[] = $field;
} }
usort($ret, function($a, $b) {return $a->i - $b->i;} ); usort($ret, function($a, $b) {return $a->i - $b->i;} );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment