mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
At home users Fix
This commit is contained in:
1 parent
daa0759544
commit
ec4b808d33
2 files changed
+3
-3
No files matched your search
@@ -3,7 +3,7 @@ class UserManager
|
||||
{
|
||||
public function getUsers () {
|
||||
try {
|
||||
$allUsers = Db::loadAll ("SELECT user_id, username FROM users");
|
||||
$allUsers = Db::loadAll ("SELECT user_id, username, at_home FROM users");
|
||||
return $allUsers;
|
||||
} catch(PDOException $error) {
|
||||
echo $error->getMessage();
|
||||
|
||||
Reference in new issue
Block a user