aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzotdir.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r--Zotlabs/Lib/Libzotdir.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php
index adc9b79bb..4f35a1b80 100644
--- a/Zotlabs/Lib/Libzotdir.php
+++ b/Zotlabs/Lib/Libzotdir.php
@@ -265,7 +265,7 @@ class Libzotdir {
if (is_array($j['transactions']) && count($j['transactions'])) {
foreach ($j['transactions'] as $t) {
- if (!($t['hash'] || $t['transaction_id'] || $t['address'])) {
+ if (empty($t['hash']) || empty($t['transaction_id']) || empty($t['address'])) {
continue;
}
@@ -647,7 +647,7 @@ class Libzotdir {
return;
}
- if (!($hash || $guid || $addr)) {
+ if (empty($hash) || empty($guid) || empty($addr)) {
return;
}