aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-02 18:49:36 +0000
committerMario <mario@mariovavti.com>2022-11-02 18:49:36 +0000
commit0840fc42f965e3f018896ddf91cb9d68581a364f (patch)
treeff425feb90d9da5d3117af62c054de31bdd2cf72
parent2650a647e95beb3d6f4324ec9db7488d4562ba42 (diff)
downloadvolse-hubzilla-0840fc42f965e3f018896ddf91cb9d68581a364f.tar.gz
volse-hubzilla-0840fc42f965e3f018896ddf91cb9d68581a364f.tar.bz2
volse-hubzilla-0840fc42f965e3f018896ddf91cb9d68581a364f.zip
php warning
-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;