diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-16 20:12:04 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-16 20:12:04 +0200 |
commit | d43485141f23fa8521efa04298d0a87ce41e6531 (patch) | |
tree | c68a2616f6b51f2d415f973003e3278749492abe | |
parent | 235056190321ac29d35c5453c739eb1afa1e21dd (diff) | |
download | volse-hubzilla-d43485141f23fa8521efa04298d0a87ce41e6531.tar.gz volse-hubzilla-d43485141f23fa8521efa04298d0a87ce41e6531.tar.bz2 volse-hubzilla-d43485141f23fa8521efa04298d0a87ce41e6531.zip |
use empty for check
-rw-r--r-- | Zotlabs/Lib/Libzotdir.php | 2 |
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']) ); |