mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 04:53:13 +01:00
Fix user can not delete its own categories from nextmatch context menu
This commit is contained in:
parent
73118f330a
commit
d4263b96b1
@ -365,7 +365,7 @@ class admin_categories
|
||||
$row['subs'] = count($row['children']);
|
||||
|
||||
$row['class'] = 'level'.$row['level'];
|
||||
if($row['owner'] > 0 && !$GLOBALS['egw_info']['user']['apps']['admin'] && $row['owner'] != $GLOBALS['egw_info']['user']['account_id'])
|
||||
if($row['owner'][0] > 0 && !$GLOBALS['egw_info']['user']['apps']['admin'] && $row['owner'][0] != $GLOBALS['egw_info']['user']['account_id'])
|
||||
{
|
||||
$row['class'] .= ' rowNoEdit rowNoDelete ';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user