aboutsummaryrefslogtreecommitdiffstats
path: root/mod/display.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-18 16:32:05 -0700
committerfriendica <info@friendica.com>2014-09-18 16:32:05 -0700
commitd4759a5883e6776a2022b204b1af84e454de7f67 (patch)
tree48233090c33d9741f7173f6fd727de53b2d58200 /mod/display.php
parent0b47fb9a91b58147e616ea75a23dea0d431c40f8 (diff)
downloadvolse-hubzilla-d4759a5883e6776a2022b204b1af84e454de7f67.tar.gz
volse-hubzilla-d4759a5883e6776a2022b204b1af84e454de7f67.tar.bz2
volse-hubzilla-d4759a5883e6776a2022b204b1af84e454de7f67.zip
repeated content collapse on update from display page under rare conditions (when the conversation hasn't changed)
Diffstat (limited to 'mod/display.php')
-rw-r--r--mod/display.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/display.php b/mod/display.php
index c389eb976..be06c1e82 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -85,6 +85,8 @@ function display_content(&$a, $update = 0, $load = false) {
$target_item = $r[0];
}
+ $r = null;
+
if($target_item['item_restrict'] & ITEM_WEBPAGE) {
$x = q("select * from channel where channel_id = %d limit 1",
intval($target_item['uid'])