diff --git a/wbce/modules/output_filter/filter_routines.php b/wbce/modules/output_filter/filter_routines.php index 94c52337f..cb0e6e28c 100644 --- a/wbce/modules/output_filter/filter_routines.php +++ b/wbce/modules/output_filter/filter_routines.php @@ -218,6 +218,7 @@ function executeBackendOutputFilter($content) { * @param void * @return array contains all settings */ +if (!function_exists("getOutputFilterSettings")) { function getOutputFilterSettings() { //fetch settings whith default values $settings = array( @@ -229,3 +230,4 @@ function getOutputFilterSettings() { ); return $settings; } +} diff --git a/wbce/modules/output_filter/info.php b/wbce/modules/output_filter/info.php index 3b193b93e..75ca71fc2 100644 --- a/wbce/modules/output_filter/info.php +++ b/wbce/modules/output_filter/info.php @@ -18,7 +18,7 @@ $module_directory = 'output_filter'; $module_name = 'Output Filter'; $module_function = 'tool'; -$module_version = '1.4.1'; +$module_version = '1.4.2'; $module_platform = '1.3.0'; $module_author = 'Complete rewrite NorHei(heimsath.org)'; $module_license = 'GNU General Public License v2'; diff --git a/wbce/modules/output_filter/upgrade.php b/wbce/modules/output_filter/upgrade.php index f42a0204f..a257c4d70 100644 --- a/wbce/modules/output_filter/upgrade.php +++ b/wbce/modules/output_filter/upgrade.php @@ -26,8 +26,8 @@ * @param void * @return array contains all settings */ -if (!function_exists("getOutputFilterSettings")) { - function getOutputFilterSettings() { +if (!function_exists("getOutputFilterSettingsOld")) { + function getOutputFilterSettingsOld() { global $database, $admin; // set default values $settings = array( @@ -54,7 +54,7 @@ function getOutputFilterSettings() { $msg = ''; // getting old Data -$data = getOutputFilterSettings(); +$data = getOutputFilterSettingsOld(); // Set old values if exists otherwise go for default Settings::Set('opf_droplets',1, false);