Fix: Remove warning

This commit is contained in:
Laurent Destailleur 2012-06-24 19:43:38 +02:00
parent 018cafe92c
commit 4a98dbe9a5

View File

@ -88,14 +88,14 @@ $workflow=array(
)
);
if (! empty($conf->modules_parts['workflow'])) $workflow = array_merge($workflow, $conf->modules_parts['workflow']);
if (! empty($conf->modules_parts['workflow']) && is_array($conf->modules_parts['workflow'])) $workflow = array_merge($workflow, $conf->modules_parts['workflow']);
foreach($workflow as $child => $parents)
{
if ($conf->$child->enabled)
{
$langs->Load($child.'@'.$child);
foreach($parents as $parent => $actions)
{
if ($conf->$parent->enabled)