diff --git a/libs/eleves/eleve.lib.php b/libs/eleves/eleve.lib.php index 3511bde..040234c 100644 --- a/libs/eleves/eleve.lib.php +++ b/libs/eleves/eleve.lib.php @@ -71,7 +71,7 @@ class Eleve { public function isParent($username) { // echo "
username :".$username."
"; foreach ($this->parents as $parent) { - // echo "parent :".var_dump($parent)."
"; + echo "parent :".$parent->getUserId()."
"; if ($parent->getUserId() == $username) { return true; }