aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-12 13:21:26 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-12 13:21:26 +0200
commit9f7dbe16fd29fed557aecdf8150d0ba244f3f36a (patch)
tree195f61b7fc9ace45fa104e4ecd8ce3e35fe762c8
parent432024123a4066723f22abaf02b6a0cb520f0a32 (diff)
downloadvolse-hubzilla-9f7dbe16fd29fed557aecdf8150d0ba244f3f36a.tar.gz
volse-hubzilla-9f7dbe16fd29fed557aecdf8150d0ba244f3f36a.tar.bz2
volse-hubzilla-9f7dbe16fd29fed557aecdf8150d0ba244f3f36a.zip
adjust check
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 9a913a6a8..814aebf47 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -984,7 +984,7 @@ class Libzot {
Libzotdir::update_modtime($xchan_hash, $address);
}
- if (!x($ret, 'message')) {
+ if (empty($ret['message'])) {
$ret['success'] = true;
$ret['hash'] = $xchan_hash;
}