From 5616c58535307b61aa9cff4b5bb18f3b5201b772 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 9 May 2014 20:44:25 +0200 Subject: [PATCH] Better error handling during install. --- mod/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/install.php b/mod/install.php index b92856690e..4be728f267 100755 --- a/mod/install.php +++ b/mod/install.php @@ -504,7 +504,7 @@ function load_database($db) { foreach($arr as $a) { if(strlen(trim($a))) { $r = @$db->q(trim($a)); - if(! $r) { + if(false === $r) { $errors .= t('Errors encountered creating database tables.') . $a . EOL; } }