Z61
Well-known member
I'm attempting to add some additional data onto the end of a response for a report. I cannot seem to get it to work right and it cuts off the content of the report.
Anyone know a proper way of doing this?
Code:
function actionView()
{
$options = XenForo_Application::get('options');
$response = parent::actionView();
$data["commentHideTime"] = strtotime($options->z61_days . " days");
return $this->responseView('XenForo_ViewPublic_Report_View', 'report_view', array_merge($data, $response->params));
}
Last edited: