a
This commit is contained in:
parent
6c298a5bcf
commit
fed8e81fb9
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class Users {
|
||||||
|
|
||||||
// Execute query
|
// Execute query
|
||||||
$user = Database::fetch('users', false, ['id' => [$id, '=']]);
|
$user = Database::fetch('users', false, ['id' => [$id, '=']]);
|
||||||
|
print_r($user);
|
||||||
// Return false if no user was found
|
// Return false if no user was found
|
||||||
if(empty($user))
|
if(empty($user))
|
||||||
return false;
|
return false;
|
||||||
|
@ -35,7 +35,7 @@ class Users {
|
||||||
|
|
||||||
// Execute query
|
// Execute query
|
||||||
$group = Database::fetch('groups', false, ['id' => [$id, '=']]);
|
$group = Database::fetch('groups', false, ['id' => [$id, '=']]);
|
||||||
|
print_r($group);
|
||||||
// Return false if no group was found
|
// Return false if no group was found
|
||||||
if(empty($group))
|
if(empty($group))
|
||||||
return false;
|
return false;
|
||||||
|
|
Reference in a new issue