aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/dba.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba.php b/include/dba.php
index b89648bca..d75ed560a 100644
--- a/include/dba.php
+++ b/include/dba.php
@@ -20,7 +20,7 @@ class dba {
function __construct($server,$user,$pass,$db,$install = false) {
$this->db = @new mysqli($server,$user,$pass,$db);
- if(! mysql_connect_errno()) {
+ if(! mysqli_connect_errno()) {
$this->connected = true;
}
else {