Fix Gloabl categories owner_popup actions

This commit is contained in:
Hadi Nategh 2014-07-11 12:58:09 +00:00
parent 9ae80ec4c1
commit 89d95e367f

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]))