custom order of ticket-categories has to be admin/reseller-dependend

Signed-off-by: Michael Kaufmann (d00p) <mkaufmann@nutime.de>
This commit is contained in:
Michael Kaufmann (d00p)
2013-02-25 15:54:33 +01:00
parent 204d539041
commit 7289ec1459

View File

@@ -462,7 +462,7 @@ elseif($page == 'categories'
'logicalorder' => $lng['ticket']['logicalorder'] 'logicalorder' => $lng['ticket']['logicalorder']
); );
$where = ''; $where = '1'; // WHERE 1 is like no 'where-clause'
if ($userinfo['tickets_see_all'] != '1') { if ($userinfo['tickets_see_all'] != '1') {
$where = " `main`.`adminid` = '" . (int)$userinfo['adminid'] . "'"; $where = " `main`.`adminid` = '" . (int)$userinfo['adminid'] . "'";
} }