From 8673bad2790237fe0d45bf10dbe65906bcdb0904 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 8 Jul 2014 21:07:45 +0000 Subject: [PATCH] If processing a filter widget twice for some reason, don't exit early or sel_options might be missing. --- importexport/inc/class.importexport_widget_filter.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importexport/inc/class.importexport_widget_filter.inc.php b/importexport/inc/class.importexport_widget_filter.inc.php index 3a4a6b80d7..9792410e58 100644 --- a/importexport/inc/class.importexport_widget_filter.inc.php +++ b/importexport/inc/class.importexport_widget_filter.inc.php @@ -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'];