diff options
-rw-r--r-- | include/zot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index 71aa27a81..945ea0cf9 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1104,7 +1104,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) { // We've validated the sender. Now make sure that the sender is the owner or author // This needs to be done in each process_xxxx function because the data arrays and conditions will be different. - if($sender['hash'] != $arr['owner_xchan'] && $sender_hash != $arr['author_xchan']) { + if($sender['hash'] != $arr['owner_xchan'] && $sender['hash'] != $arr['author_xchan']) { logger('process_delivery: sender is not owner or author'); return; } |