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;
|
break;
|
||||||
case 'MySQL':
|
case 'MySQL':
|
||||||
default:
|
default:
|
||||||
$sql = 'SHOW TABLE STATUS FROM '.Pluf::f('db_database');
|
$sql = 'SHOW TABLE STATUS FROM `'.Pluf::f('db_database').'`';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$rs = $db->select($sql);
|
$rs = $db->select($sql);
|
||||||
|
Loading…
Reference in New Issue
Block a user