Fixed issue 278, database with - in name causes exception on the admin projects list.
This commit is contained in:
parent
c1e23ae9e2
commit
9d9541ee11
@ -352,7 +352,7 @@ function IDF_Views_Admin_getForgeDbSize()
|
||||
break;
|
||||
case 'MySQL':
|
||||
default:
|
||||
$sql = 'SHOW TABLE STATUS FROM '.Pluf::f('db_database');
|
||||
$sql = 'SHOW TABLE STATUS FROM `'.Pluf::f('db_database').'`';
|
||||
break;
|
||||
}
|
||||
$rs = $db->select($sql);
|
||||
|
Loading…
Reference in New Issue
Block a user