$code = array_pop(features_invoke($component, 'features_export_render', $module, array_keys($default), NULL));

Should be something like

$tmp = features_invoke($component, 'features_export_render', $module, array_keys($default), NULL);
$code = array_pop($tmp);

Since I'm not sure what the code does, I don't know what would be an appropriate name, which is why I'm not submitting a patch.

Comments

RunePhilosof’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.