Fix for DB error reporting in installer (MySQL path)

This commit is contained in:
Brion Vibber 2010-06-11 12:38:22 -07:00
parent ec15546476
commit 3da8914edb
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ abstract class Installer
case 'mysqli':
$res = $conn->query($stmt);
if ($res === false) {
$error = $conn->error();
$error = $conn->error;
}
break;
case 'pgsql':