From fbe135fb3645551a7a055bb105109da236793ef2 Mon Sep 17 00:00:00 2001 From: Jonathan Bither Date: Thu, 30 May 2013 10:45:47 -0400 Subject: [PATCH] mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error() --- classes/db/mysqli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/db/mysqli.php b/classes/db/mysqli.php index 550df6f1..a41ebf8e 100644 --- a/classes/db/mysqli.php +++ b/classes/db/mysqli.php @@ -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()); } } -- 2.39.5