Updating mysql getdefaultparam function to query the dbusers sql database.

This commit is contained in:
Steven Mondji-Lerider 2013-01-14 08:43:02 +00:00
parent 249f24658e
commit e3772abacb
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ class m_mysql {
$dbu=$dbn;
$r=array();
$dbn=str_replace('_','\_',$dbn);
$q=$db->query("Select * from mysql.db where Db='".$dbn."' and User!='".$cuid."_myadm';");
$q=$this->dbus->query("Select * from mysql.db where Db='".$dbn."' and User!='".$cuid."_myadm';");
if(!$db->num_rows()){
return $r;