that would've messed it up

This commit is contained in:
friendica 2013-10-02 04:13:35 -07:00
parent 266c701034
commit 6e2695f94a

View File

@ -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;
}