aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-05 09:50:55 +0000
committerMario <mario@mariovavti.com>2022-11-05 09:50:55 +0000
commit7fc9c83986d0ca0707c408b77f2acfb954532c42 (patch)
treef65e899b792ef86f99539b06232e5baf2fe80714 /include/text.php
parent81b02d04b5c486ed5b23467b25e1441ed6d37da9 (diff)
parent5502f1cc63d87bed8198d360ae0e8e7c5fa58f44 (diff)
downloadvolse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.gz
volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.bz2
volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.zip
Merge branch 'dev'
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 2bcbdd1c0..af6ad7ea2 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1892,8 +1892,8 @@ function format_poll($item,$s,$opts) {
return EMPTY_STR;
}
+ $closed = false;
$commentable = can_comment_on_post(((local_channel()) ? get_observer_hash() : EMPTY_STR), $item);
-
$activated = ((local_channel() && local_channel() == $item['uid'] && get_observer_hash() !== $item['owner_xchan']) ? true : false);
$output = $s;