]> git.wh0rd.org Git - tt-rss.git/commitdiff
mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysql...
authorJonathan Bither <jbither@allcitywireless.com>
Thu, 30 May 2013 14:45:47 +0000 (10:45 -0400)
committerJonathan Bither <jbither@allcitywireless.com>
Thu, 30 May 2013 14:45:47 +0000 (10:45 -0400)
classes/db/mysqli.php

index 550df6f154cf58070d637a0c14152b92781e5cac..a41ebf8ece2fbd4baf93d94e1039812923be8c68 100644 (file)
@@ -13,7 +13,7 @@ class Db_Mysqli implements IDb {
 
                        return $this->link;
                } else {
-                       die("Unable to connect to database (as $user to $host, database $db): " . mysqli_error());
+                       die("Unable to connect to database (as $user to $host, database $db): " . mysqli_connect_error());
                }
        }