Browse Source

Fixes #1092

Signed-off-by: John Rayes <live627@gmail.com>
John Rayes 11 years ago
parent
commit
720a1ac8ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Subs-Themes.php

+ 1 - 1
Sources/Subs-Themes.php

@@ -460,7 +460,7 @@ function remove_dir($path)
  */
 function remove_theme($themeID)
 {
-	global $smcFunc, $modSetting;
+	global $smcFunc, $modSettings;
 
 	// Can't delete the default theme, sorry!
 	if (empty($themeID) || $themeID == 1)