Compatibility with PHP 5.4
This commit is contained in:
parent
f031b04ea4
commit
6630f264ef
3 changed files with 4 additions and 4 deletions
|
@ -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');
|
||||
|
|
Reference in a new issue