aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzotdir.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-16 20:12:04 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-16 20:12:04 +0200
commitd43485141f23fa8521efa04298d0a87ce41e6531 (patch)
treec68a2616f6b51f2d415f973003e3278749492abe /Zotlabs/Lib/Libzotdir.php
parent235056190321ac29d35c5453c739eb1afa1e21dd (diff)
downloadvolse-hubzilla-d43485141f23fa8521efa04298d0a87ce41e6531.tar.gz
volse-hubzilla-d43485141f23fa8521efa04298d0a87ce41e6531.tar.bz2
volse-hubzilla-d43485141f23fa8521efa04298d0a87ce41e6531.zip
use empty for check
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r--Zotlabs/Lib/Libzotdir.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php
index a4f1fb2b9..bd5078f9e 100644
--- a/Zotlabs/Lib/Libzotdir.php
+++ b/Zotlabs/Lib/Libzotdir.php
@@ -318,7 +318,7 @@ class Libzotdir {
logger('update_directory_entry: ' . print_r($ud,true), LOGGER_DATA);
- if (!$ud['ud_hash'] || !$ud['ud_addr']) {
+ if (empty($ud['ud_hash']) || empty($ud['ud_addr'])) {
q("DELETE FROM updates WHERE ud_id = %d",
dbesc($ud['ud_id'])
);