aboutsummaryrefslogtreecommitdiffstats
path: root/mod/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/install.php')
-rw-r--r--mod/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/install.php b/mod/install.php
index cb23b31ed..dafc86ee6 100644
--- a/mod/install.php
+++ b/mod/install.php
@@ -16,7 +16,7 @@ function install_post(&$a) {
$db = new dba($dbhost, $dbuser, $dbpass, $dbdata, $true);
- if(! $db->getdb()) {
+ if(mysqli_connect_errno()) {
notice( t('Could not connect to database.') . EOL);
return;
}