aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ItemObject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 4bc280e73..2be7e3ac9 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -681,7 +681,7 @@ class Item extends BaseObject {
$qc = ((local_channel()) ? get_pconfig(local_channel(),'system','qcomment') : null);
$qcomment = (($qc) ? explode("\n",$qc) : null);
- $arr = array('comment_buttons' => '');
+ $arr = array('comment_buttons' => '','id' => $this->get_id());
call_hooks('comment_buttons',$arr);
$comment_buttons = $arr['comment_buttons'];