aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-04 18:34:38 -0700
committerzotlabs <mike@macgirvin.com>2017-11-04 18:34:38 -0700
commit0e1c628066a48ceb38a56a3b26e1a69e49bd218e (patch)
treeb831837413258dbe0b90c9bacd6a243ff24450fc
parent65bc146afa82f3f0f2e3921660189892af42c15b (diff)
downloadvolse-hubzilla-0e1c628066a48ceb38a56a3b26e1a69e49bd218e.tar.gz
volse-hubzilla-0e1c628066a48ceb38a56a3b26e1a69e49bd218e.tar.bz2
volse-hubzilla-0e1c628066a48ceb38a56a3b26e1a69e49bd218e.zip
fix can_comment_on_post() after recent code cleanup (a required array parameter was missing)
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 3934f6194..5d592c736 100755
--- a/include/items.php
+++ b/include/items.php
@@ -230,6 +230,7 @@ function can_comment_on_post($observer_xchan, $item) {
$x = [
'observer_hash' => $observer_xchan,
'item' => $item,
+ 'allowed' => 'unset'
];
/**
* @hooks can_comment_on_post