From 0840fc42f965e3f018896ddf91cb9d68581a364f Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 2 Nov 2022 18:49:36 +0000 Subject: php warning --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') 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; -- cgit v1.2.3