// Fix install when _DB_PREFIX_ is empty
This commit is contained in:
1 parent
dc1b554aec
commit
f30aca6cb4
2 files changed
+3
-3
No files matched your search
@@ -683,7 +683,7 @@ class InstallXmlLoader
|
||||
if (!isset($columns[$table]))
|
||||
{
|
||||
$columns[$table] = array();
|
||||
$sql = 'SHOW COLUMNS FROM `'.bqSQL(_DB_PREFIX_.$table).'`';
|
||||
$sql = 'SHOW COLUMNS FROM `'._DB_PREFIX_.bqSQL($table).'`';
|
||||
foreach (Db::getInstance()->executeS($sql) as $row)
|
||||
$columns[$table][$row['Field']] = $this->checkIfTypeIsText($row['Type']);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user