If processing a filter widget twice for some reason, don't exit early or sel_options might be missing.

This commit is contained in:
Nathan Gray 2014-07-08 21:07:45 +00:00
parent a5b9173fc9
commit 8673bad279

View File

@ -40,8 +40,8 @@ class importexport_widget_filter extends etemplate_widget_transformer
$form_name = self::form_name($cname, $this->id);
if($this->getElementAttribute($form_name, 'customfields'))
{
// Already done?
return;
// Already done? Still need to process, or sel_options may be missing
unset(self::$request->modifications[$form_name]);
}
$value =& self::get_array(self::$request->content, $form_name, true);
$fields = $value['fields'];