diff --git a/web/zm_actions.php b/web/zm_actions.php index b49f8330d..f38817d30 100644 --- a/web/zm_actions.php +++ b/web/zm_actions.php @@ -403,6 +403,7 @@ if ( $action ) break; } } + loadConfig(); } elseif ( $action == "user" && isset( $uid ) ) { diff --git a/web/zm_config.php.z b/web/zm_config.php.z index 89d77da4c..7265a73bd 100644 --- a/web/zm_config.php.z +++ b/web/zm_config.php.z @@ -99,6 +99,9 @@ function loadConfig() global $config; global $config_cats; + $config = array(); + $config_cat = array(); + $sql = "select * from Config"; $result = mysql_query( $sql ); if ( !$result )