From: Jonathan Bither Date: Thu, 30 May 2013 14:45:47 +0000 (-0400) Subject: mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysql... X-Git-Tag: 1.8~40^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fbe135fb3645551a7a055bb105109da236793ef2;p=tt-rss.git mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error() --- 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()); } }