aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-12-01 19:09:50 +0000
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-12-01 19:09:50 +0000
commitdef10df816ec7ca25fe463bf029e84ba7dfdba61 (patch)
tree15bfb27abb0a1cf9b7585a441611a90b9437cc3e /include
parentc8db34806e929eedb7edec163ca2f9a09bd329e6 (diff)
downloadvolse-hubzilla-def10df816ec7ca25fe463bf029e84ba7dfdba61.tar.gz
volse-hubzilla-def10df816ec7ca25fe463bf029e84ba7dfdba61.tar.bz2
volse-hubzilla-def10df816ec7ca25fe463bf029e84ba7dfdba61.zip
Somewhat subtle process_delivery() bug - $public was not being reset if a sys
channel is reached but then the loop iterated over another channel.
Diffstat (limited to 'include')
-rw-r--r--include/zot.php1
1 files changed, 1 insertions, 0 deletions
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'])
);