auto login when chosen so
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
@ -22,6 +22,8 @@ class Dog extends Model
|
||||
|
||||
if (!$this->exists($dog))
|
||||
return false;
|
||||
else if(!is_array($_SESSION['user']->data['dogs']))
|
||||
return false;
|
||||
else {
|
||||
if (in_array($dog, $_SESSION['user']->data['dogs']))
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user