From def10df816ec7ca25fe463bf029e84ba7dfdba61 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Mon, 1 Dec 2014 19:09:50 +0000 Subject: Somewhat subtle process_delivery() bug - $public was not being reset if a sys channel is reached but then the loop iterated over another channel. --- include/zot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/zot.php b/include/zot.php index 3b8584509..a7c6e32ac 100644 --- a/include/zot.php +++ b/include/zot.php @@ -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']) ); -- cgit v1.2.3