diff --git a/admin/inc/class.admin_categories.inc.php b/admin/inc/class.admin_categories.inc.php index 3dbfa81af8..69d71d1a4d 100644 --- a/admin/inc/class.admin_categories.inc.php +++ b/admin/inc/class.admin_categories.inc.php @@ -290,7 +290,7 @@ class admin_categories } if($this->appname == 'admin' || ($content['id'] && !((int)$content['owner'] > 0))) { - if($content['owner'] > 0) + if((int)$content['owner'] > 0) { $content['msg'] .= "\n".lang('owner "%1" removed, please select group-owner', Api\Accounts::username($content['owner'])); $content['owner'] = 0; @@ -861,4 +861,4 @@ class admin_categories } } -admin_categories::init_static(); +admin_categories::init_static(); \ No newline at end of file