forked from GNUsocial/gnu-social
Fix for DB error reporting in installer (MySQL path)
This commit is contained in:
parent
ec15546476
commit
3da8914edb
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user