summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-06-11 12:38:22 -0700
committerBrion Vibber <brion@pobox.com>2010-06-11 12:38:22 -0700
commit3da8914edb81a1789d69ee6c32092959630e4e1c (patch)
treed16af500ecdd56632608d2cb660654715b7b26aa /lib
parentec155464765db36591bbb183b335abbc1ec8638c (diff)
Fix for DB error reporting in installer (MySQL path)
Diffstat (limited to 'lib')
-rw-r--r--lib/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer.php b/lib/installer.php
index 7936d5d5d..78461efb7 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -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':