Browse Source

Merge pull request #1094 from live627/th

Fixes #1092 and Fixes #1093 as well
Jessica González 11 years ago
parent
commit
ca15bdc95d
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)