From: Michael Vogel Date: Fri, 9 May 2014 18:44:25 +0000 (+0200) Subject: Better error handling during install. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5616c58535307b61aa9cff4b5bb18f3b5201b772;p=friendica.git Better error handling during install. --- 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; } }