aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/mysqli.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-24 13:06:25 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-26 21:43:40 +0200
commitfcdf1101cba7999081f12bca2f5f96ef7769539c (patch)
treecbaffc8574a99b9022e4d3c731d1388c1ebf410e /phpBB/phpbb/db/driver/mysqli.php
parent275e56ce70b194ed6712ba30707494607dbdc1cf (diff)
downloadforums-fcdf1101cba7999081f12bca2f5f96ef7769539c.tar
forums-fcdf1101cba7999081f12bca2f5f96ef7769539c.tar.gz
forums-fcdf1101cba7999081f12bca2f5f96ef7769539c.tar.bz2
forums-fcdf1101cba7999081f12bca2f5f96ef7769539c.tar.xz
forums-fcdf1101cba7999081f12bca2f5f96ef7769539c.zip
[ticket/12570] Keep MySQLi procedural
PHPBB3-12570
Diffstat (limited to 'phpBB/phpbb/db/driver/mysqli.php')
-rw-r--r--phpBB/phpbb/db/driver/mysqli.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/driver/mysqli.php b/phpBB/phpbb/db/driver/mysqli.php
index a0df7599f8..39df175860 100644
--- a/phpBB/phpbb/db/driver/mysqli.php
+++ b/phpBB/phpbb/db/driver/mysqli.php
@@ -57,8 +57,8 @@ class mysqli extends \phpbb\db\driver\mysql_base
}
}
- $this->db_connect_id = @mysqli_init();
- $this->db_connect_id->real_connect($this->server, $this->user, $sqlpassword, $this->dbname, $port, $socket, MYSQLI_CLIENT_FOUND_ROWS);
+ $this->db_connect_id = mysqli_init();
+ @mysqli_real_connect($this->db_connect_id, $this->server, $this->user, $sqlpassword, $this->dbname, $port, $socket, MYSQLI_CLIENT_FOUND_ROWS);
if ($this->db_connect_id && $this->dbname != '')
{