Fixed issue 278, database with - in name causes exception on the admin projects list.

master
Loic d'Anterroches 2009-09-21 09:46:46 +02:00
parent c1e23ae9e2
commit 9d9541ee11
1 changed files with 1 additions and 1 deletions

View File

@ -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);