Fix no notifications checkbox

This commit is contained in:
Nathan Gray 2012-12-19 20:06:13 +00:00
parent dacf0706a3
commit 2f1e5b5078

View File

@ -51,12 +51,12 @@
$definition_obj->plugin_options = (array)$definition_obj->plugin_options + array('dry_run' => true); $definition_obj->plugin_options = (array)$definition_obj->plugin_options + array('dry_run' => true);
} }
$options =& $definition_obj->plugin_options; $options =& $definition_obj->plugin_options;
$options['no_notification'] = $content['no_notifications'];
if($content['delimiter']) { if($content['delimiter']) {
$options['fieldsep'] = $options['fieldsep'] =
$content['delimiter'] == 'other' ? $content['other_delimiter'] : $content['delimiter']; $content['delimiter'] == 'other' ? $content['other_delimiter'] : $content['delimiter'];
$definition_obj->plugin_options = $options;
} }
$options['no_notification'] = $content['no_notifications']; $definition_obj->plugin_options = $options;
$plugin = new $definition_obj->plugin; $plugin = new $definition_obj->plugin;