{\r
$data = array(\r
'itemid' => $this->commentsObj->itemid,\r
- 'timestamp' => $this->commentsObj->itemActions->currentItem->timestamp,\r
- 'title' => $this->commentsObj->itemActions->currentItem->title,\r
+ 'timestamp' => $this->commentsObj->itemActions->currentItem['timestamp'],\r
+ 'title' => $this->commentsObj->itemActions->currentItem['title'],\r
'extra' => $this->commentsObj->itemActions->linkparams\r
);\r
\r
*/\r
public function parse_userlinkraw()\r
{\r
- echo $this->currentComment['userlinkraw'];\r
+ echo (array_key_exists('userlinkraw', $this->currentComment) && !empty($this->currentComment['userlinkraw'])) ? $this->currentComment['userlinkraw'] : '';\r
return;\r
}\r
\r
}\r
\r
/**\r
- * ItemActions::checkCondition()\r
+ * CommentActions::checkCondition()\r
* Checks conditions for if statements\r
*\r
* @param string $field type of <%if%>\r