diff options
Diffstat (limited to 'Zotlabs/Lib')
-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']) ); |