Compatibility with PHP 5.4
This commit is contained in:
parent
f031b04ea4
commit
6630f264ef
3 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
* Field handler to display the number of new comments
|
||||
*/
|
||||
class nodecomment_handler_field_node_new_comments extends views_handler_field_node_new_comments {
|
||||
function pre_render(&$values) {
|
||||
function pre_render($values) {
|
||||
global $user;
|
||||
if (!$user->uid || empty($values)) {
|
||||
return;
|
||||
|
|
Reference in a new issue