]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for DB error reporting in installer (MySQL path)
authorBrion Vibber <brion@pobox.com>
Fri, 11 Jun 2010 19:38:22 +0000 (12:38 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 11 Jun 2010 19:38:22 +0000 (12:38 -0700)
lib/installer.php

index 7936d5d5d16a43896fa96e769be1e474b9ed6b8d..78461efb72be1805524b995db38bc79eb30e17c3 100644 (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':