diff options
author | Paolo Tacconi <p.tacconi@giunti.it> | 2014-09-25 08:44:07 +0200 |
---|---|---|
committer | Paolo Tacconi <p.tacconi@giunti.it> | 2014-09-25 08:44:07 +0200 |
commit | 6324a07dd8b17db5da0ce66c99fb69e2f3ec49e1 (patch) | |
tree | 89e81409add34df97f633515181790d6aed4c726 /mod/display.php | |
parent | 7da97c198182f8f6f4286e16d80de205431d81bb (diff) | |
parent | 92c723d37cd8ded2183d3334eb51e740170e191b (diff) | |
download | volse-hubzilla-6324a07dd8b17db5da0ce66c99fb69e2f3ec49e1.tar.gz volse-hubzilla-6324a07dd8b17db5da0ce66c99fb69e2f3ec49e1.tar.bz2 volse-hubzilla-6324a07dd8b17db5da0ce66c99fb69e2f3ec49e1.zip |
Rebase from upstream
Diffstat (limited to 'mod/display.php')
-rw-r--r-- | mod/display.php | 2 |
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']) |