This commit is contained in:
flash 2015-03-30 18:09:28 +02:00
parent 6c298a5bcf
commit fed8e81fb9

View file

@ -20,7 +20,7 @@ class Users {
// Execute query
$user = Database::fetch('users', false, ['id' => [$id, '=']]);
print_r($user);
// Return false if no user was found
if(empty($user))
return false;
@ -35,7 +35,7 @@ class Users {
// Execute query
$group = Database::fetch('groups', false, ['id' => [$id, '=']]);
print_r($group);
// Return false if no group was found
if(empty($group))
return false;