Explorar o código

One more spot

Signed-off-by: Suki <[email protected]>
Suki %!s(int64=11) %!d(string=hai) anos
pai
achega
6dfdb62384
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/Subs-Themes.php

+ 1 - 1
Sources/Subs-Themes.php

@@ -166,7 +166,7 @@ function get_theme_info($path)
 	// The theme isn't compatible with the current SMF version.
 	if (!$install_versions || !matchPackageVersion($the_version, $install_versions))
 	{
-		rmdir($path);
+		remove_dir($path);
 		fatal_lang_error('package_get_error_theme_not_compatible', false, $forum_version);
 	}