Merge pull request #6728 from nupplaphil/issue/6337-warnings
Fixing Update retval warning
This commit is contained in:
commit
26931f2301
|
@ -94,7 +94,7 @@ class Update
|
||||||
|
|
||||||
// update the structure in one call
|
// update the structure in one call
|
||||||
$retval = DBStructure::update($basePath, $verbose, true);
|
$retval = DBStructure::update($basePath, $verbose, true);
|
||||||
if ($retval) {
|
if (!empty($retval)) {
|
||||||
if ($sendMail) {
|
if ($sendMail) {
|
||||||
self::updateFailed(
|
self::updateFailed(
|
||||||
DB_UPDATE_VERSION,
|
DB_UPDATE_VERSION,
|
||||||
|
|
Loading…
Reference in a new issue