diff --git a/class/objet.php b/class/objet.php index ecca010bbddbb1542620ca86a3f18298ad07117d..62077baf6ec516316c6cae6cb5b40884e8a60230 100644 --- a/class/objet.php +++ b/class/objet.php @@ -8,8 +8,8 @@ class Objet print_r($att); for ($i=0; $i < count($att); $i++) { - echo $att[i] . "<br />"; - $this->$att[i] = $arr[$att[i]]; + echo $att[$i] . "<br />"; + $this->$att[$i] = $arr[$att[$i]]; } }