mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Fixing problem in listSources when using '-' in database name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5070 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8fb9acc981
commit
2cac3f7c1d
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class DboMysql extends DboSource {
|
|||
if ($cache != null) {
|
||||
return $cache;
|
||||
}
|
||||
$result = $this->_execute('SHOW TABLES FROM ' . $this->config['database'] . ';');
|
||||
$result = $this->_execute('SHOW TABLES FROM ' . $this->name($this->config['database']) . ';');
|
||||
|
||||
if (!$result) {
|
||||
return array();
|
||||
|
|
Loading…
Add table
Reference in a new issue