aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;