diff options
-rw-r--r-- | mod/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/install.php b/mod/install.php index 643f9a55c..dc91f848e 100644 --- a/mod/install.php +++ b/mod/install.php @@ -19,7 +19,7 @@ function install_post(&$a) { if(mysqli_connect_errno()) { $db = new dba($dbhost, $dbuser, $dbpass, '', true); - if(! mysql_connect_errno()) { + if(! mysqli_connect_errno()) { $r = q("CREATE DATABASE '%s'", dbesc($dbdata) ); |