From 67b36aa936566c9a06db9ac400f30a44f79e1ef6 Mon Sep 17 00:00:00 2001 From: Matthieu Guffroy <mattgu74@gmail.com> Date: Thu, 12 Jun 2014 03:41:42 +0200 Subject: [PATCH] debug --- class/objet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/objet.php b/class/objet.php index ecca010..62077ba 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]]; } } -- GitLab