mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Avoid saving msg when deleting category
This commit is contained in:
parent
4df5fad081
commit
8c4cfeb7f7
@ -152,11 +152,11 @@ class admin_categories
|
||||
case 'apply':
|
||||
if(is_array($content['owner'])) $content['owner'] = implode(',',$content['owner']);
|
||||
if($content['owner'] == '') $content['owner'] = 0;
|
||||
unset($content['msg']);
|
||||
if ($content['id'] && self::$acl_edit)
|
||||
{
|
||||
|
||||
$data = $cats->id2name($content['id'],'data');
|
||||
unset($content['msg']);
|
||||
if(!$content['parent'])
|
||||
{
|
||||
$content['parent'] = '0';
|
||||
|
Loading…
Reference in New Issue
Block a user