allow debugging of connection errors
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@734 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
3ff9d9f574
commit
7fefe84b2e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class sql_db
|
|||
}
|
||||
}
|
||||
|
||||
return $this->sql_error('');
|
||||
return $this->sql_error(mysqli_connect_error());
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue