diff --git a/class/race.php b/class/race.php index 230a2e5b680c5f7eaa25e999a60db3b1a7df38ae..e60d36435b4ef7d37937936a17caf20c46e77704 100644 --- a/class/race.php +++ b/class/race.php @@ -64,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