Browse Source

oops!

Signed-off-by: Suki <[email protected]>
Suki 11 years ago
parent
commit
af8204988a
1 changed files with 1 additions and 1 deletions
  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,