From 9f7dbe16fd29fed557aecdf8150d0ba244f3f36a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 12 Apr 2023 13:21:26 +0200 Subject: adjust check --- Zotlabs/Lib/Libzot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Libzot.php') 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; } -- cgit v1.2.3