Browse Source

! Make sure things are always defined before trying to use them...

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 10 years ago
parent
commit
aa7b54a6fa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Sources/ManageServer.php

+ 2 - 0
Sources/ManageServer.php

@@ -934,6 +934,8 @@ function saveSettings(&$config_vars)
 		$config_bools = array('db_persist', 'db_error_send');
 	elseif ($context['area'] == 'server')
 		$config_bools = array('maintenance');
+	else
+		$config_bools = array();
 
 	// Now sort everything into a big array, and figure out arrays and etc.
 	$new_settings = array();