]> git.mxchange.org Git - friendica.git/commitdiff
Better error handling during install.
authorMichael Vogel <icarus@dabo.de>
Fri, 9 May 2014 18:44:25 +0000 (20:44 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 9 May 2014 18:44:25 +0000 (20:44 +0200)
mod/install.php

index b92856690eaa8bf59fad47f34679530085e9c52c..4be728f267653f8b909f843fad93a4a26556e6e9 100755 (executable)
@@ -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;
                        }
                }