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:
@@ -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'] . "'";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user