// Fix some LIKE with _

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12970 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-03 12:09:28 +00:00
parent 3f0e83a7ff
commit 3eda780670
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ class LanguageCore extends ObjectModel
*/
public function loadUpdateSQL()
{
$tables = Db::getInstance()->executeS('SHOW TABLES LIKE \''._DB_PREFIX_.'%_lang\' ');
$tables = Db::getInstance()->executeS('SHOW TABLES LIKE \''.str_replace('_', '\\_', _DB_PREFIX_).'%\_lang\' ');
$langTables = array();
foreach ($tables as $table)