Fix Gloabl categories owner_popup actions

This commit is contained in:
Hadi Nategh 2014-07-11 09:47:43 +00:00
parent 2871228a0d
commit 49789bcf09

View File

@ -491,6 +491,10 @@ class admin_categories
if(in_array($content['nm']['action'], array('owner'))) if(in_array($content['nm']['action'], array('owner')))
{ {
$action = $content['nm']['action']; $action = $content['nm']['action'];
if ($content[$action.'_popup'])
{
$content = array_merge($content,$content[$action.'_popup']);
}
$content['nm']['action'] .= '_' . key($content[$action . '_action']); $content['nm']['action'] .= '_' . key($content[$action . '_action']);
if(is_array($content[$action])) if(is_array($content[$action]))