From 8c4cfeb7f7199547b67625f1b243c8ec30e7ba26 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 20 Mar 2019 10:30:54 -0600 Subject: [PATCH] Avoid saving msg when deleting category --- admin/inc/class.admin_categories.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_categories.inc.php b/admin/inc/class.admin_categories.inc.php index 77eab0988e..67fe402f52 100644 --- a/admin/inc/class.admin_categories.inc.php +++ b/admin/inc/class.admin_categories.inc.php @@ -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';