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

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents 53688369 231f07ff
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,6 @@ class Race extends Objet
"i" => 3
),
"nom" => array(
"t" => "ForeignField",
"i" => 2
),
"id" => array(
......@@ -65,6 +64,7 @@ class Race extends Objet
}
public function str() {
return $this->nom;
$tostr = $this->nom.' '.$this->espece;
return $tostr;
}
}
\ No newline at end of file
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