Compatibility with PHP 5.4

This commit is contained in:
Manuel Cillero 2017-07-26 11:50:49 +02:00
parent f031b04ea4
commit 6630f264ef
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ class nodecomment_handler_field_author extends views_handler_field_user_name {
/**
* Override init function to add uid and homepage fields.
*/
function init(&$view, &$data) {
function init(&$view, $data) {
parent::init($view, $data);
$this->additional_fields['uid'] = array('table' => 'users', 'field' => 'uid');
$this->additional_fields['user_name'] = array('table' => 'users', 'field' => 'name');