This commit is contained in:
Roman Kelesidis 2023-10-23 08:14:04 +07:00
parent 8d54fea7a7
commit 0fabeae264
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ class sql_db
*/
function select_db ()
{
$this->cur_query = 'select db';
$this->cur_query = "select db: '{$this->cfg['dbname']}'";
$this->debug('start');
if (!@mysql_select_db($this->cfg['dbname'], $this->link))

View File

@ -123,7 +123,7 @@ class sql_db
*/
function select_db ()
{
$this->cur_query = ($this->dbg_enabled) ? "select db: {$this->cfg['dbname']}" : 'select db';
$this->cur_query = ($this->dbg_enabled) ? "select db: '{$this->cfg['dbname']}'" : 'select db';
$this->debug('start');
if (!@mysql_select_db($this->cfg['dbname'], $this->link))