fix can_comment_on_post() after recent code cleanup (a required array parameter was missing)
This commit is contained in:
parent
65bc146afa
commit
0e1c628066
@ -230,6 +230,7 @@ function can_comment_on_post($observer_xchan, $item) {
|
|||||||
$x = [
|
$x = [
|
||||||
'observer_hash' => $observer_xchan,
|
'observer_hash' => $observer_xchan,
|
||||||
'item' => $item,
|
'item' => $item,
|
||||||
|
'allowed' => 'unset'
|
||||||
];
|
];
|
||||||
/**
|
/**
|
||||||
* @hooks can_comment_on_post
|
* @hooks can_comment_on_post
|
||||||
|
Reference in New Issue
Block a user