Explorar o código

oops!

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

+ 1 - 1
Sources/Subs-Themes.php

@@ -334,7 +334,7 @@ function theme_install($to_install = array())
 				SELECT id_theme
 				FROM {db_prefix}themes
 				WHERE id_member = {int:no_member}
-					AND (value LIKE {string:based_on})
+					AND (value LIKE {string:based_on} OR value LIKE {string:based_on_path})
 				LIMIT 1',
 				array(
 					'no_member' => 0,