#59 Now the admin ticket page filters out inactive users
This commit is contained in:
parent
8f27ba2c48
commit
270a796090
@ -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` 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