https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c1896ee
)
Merge pull request #6728 from nupplaphil/issue/6337-warnings
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sat, 23 Feb 2019 09:23:46 +0000
(10:23 +0100)
committer
GitHub
<noreply@github.com>
Sat, 23 Feb 2019 09:23:46 +0000
(10:23 +0100)
Fixing Update retval warning
src/Core/Update.php
patch
|
blob
|
history
diff --git
a/src/Core/Update.php
b/src/Core/Update.php
index
5df0675
..
ed6c058
100644
(file)
--- a/
src/Core/Update.php
+++ b/
src/Core/Update.php
@@
-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,