]> git.mxchange.org Git - friendica.git/commitdiff
Fixing #issuecomment-456403983
authorPhilipp Holzer <admin@philipp.info>
Sat, 23 Feb 2019 09:16:07 +0000 (10:16 +0100)
committerPhilipp Holzer <admin@philipp.info>
Sat, 23 Feb 2019 09:16:07 +0000 (10:16 +0100)
src/Core/Update.php

index 5df0675cdaeb46cd7520468d693e79f349b034c2..ed6c058726431e2383cb27a9203674bcad309dc8 100644 (file)
@@ -94,7 +94,7 @@ class Update
 
                                        // update the structure in one call
                                        $retval = DBStructure::update($basePath, $verbose, true);
-                                       if ($retval) {
+                                       if (!empty($retval)) {
                                                if ($sendMail) {
                                                        self::updateFailed(
                                                                DB_UPDATE_VERSION,