From a8456782b5c59f986b20af640cf5e4cd637be006 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 4 Feb 2016 22:39:56 -0800 Subject: will probably need this to make it work --- include/ItemObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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']; -- cgit v1.2.3