Merge pull request #6728 from nupplaphil/issue/6337-warnings

Fixing Update retval warning
This commit is contained in:
Tobias Diekershoff 2019-02-23 10:23:46 +01:00 committed by GitHub
commit 26931f2301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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,