From: Friendika Date: Thu, 3 Mar 2011 23:47:13 +0000 (-0800) Subject: that would be mysql !i! connect_errno... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69e2252fd6fc8acd8bf5b0fcecd8c329d71c9673;p=friendica.git that would be mysql !i! connect_errno... --- diff --git a/include/dba.php b/include/dba.php index b89648bcac..d75ed560ab 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 {