add debug
This commit is contained in:
parent
84c2e7a3ad
commit
c730cb5cbf
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Eleve {
|
|||
public function isParent($username) {
|
||||
// echo "<p>username :".$username."</p>";
|
||||
foreach ($this->parents as $parent) {
|
||||
// echo "<p>parent :".var_dump($parent)."</p>";
|
||||
echo "<p>parent :".$parent->getUserId()."</p>";
|
||||
if ($parent->getUserId() == $username) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue