aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-03 15:47:13 -0800
committerFriendika <info@friendika.com>2011-03-03 15:47:13 -0800
commit69e2252fd6fc8acd8bf5b0fcecd8c329d71c9673 (patch)
tree50a98ce282046ea320ec23a9741c139feb3972ab
parentb8757fb45624d038e1f072fa40fb439608532164 (diff)
downloadvolse-hubzilla-69e2252fd6fc8acd8bf5b0fcecd8c329d71c9673.tar.gz
volse-hubzilla-69e2252fd6fc8acd8bf5b0fcecd8c329d71c9673.tar.bz2
volse-hubzilla-69e2252fd6fc8acd8bf5b0fcecd8c329d71c9673.zip
that would be mysql !i! connect_errno...
-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 {