Somewhat subtle process_delivery() bug - $public was not being reset if a sys

channel is reached but then the loop iterated over another channel.
This commit is contained in:
Thomas Willingham 2014-12-01 19:09:50 +00:00
parent c8db34806e
commit def10df816

View File

@ -1419,6 +1419,7 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false,$reque
}
foreach($deliveries as $d) {
$public = false;
$r = q("select * from channel where channel_hash = '%s' limit 1",
dbesc($d['hash'])
);