Closes #82 The active flag is an enum value (string), not an integer
This commit is contained in:
parent
e535f2fb4e
commit
ade760b3b3
@ -419,7 +419,7 @@ while ($row=hesk_dbFetchAssoc($result))
|
|||||||
|
|
||||||
/* List of users */
|
/* List of users */
|
||||||
$admins = array();
|
$admins = array();
|
||||||
$result = hesk_dbQuery("SELECT `id`,`name`,`isadmin`,`categories`,`heskprivileges` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."users` WHERE `active` = 1 ORDER BY `id` ASC");
|
$result = hesk_dbQuery("SELECT `id`,`name`,`isadmin`,`categories`,`heskprivileges` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."users` WHERE `active` = '1' ORDER BY `id` ASC");
|
||||||
while ($row=hesk_dbFetchAssoc($result))
|
while ($row=hesk_dbFetchAssoc($result))
|
||||||
{
|
{
|
||||||
/* Is this an administrator? */
|
/* Is this an administrator? */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user