// Fix some LIKE with _
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user