There seems to be a logic error in views_bonus_grid.module. At the bottom of the theme_views_bonus_view_grid() function, there is a check to see if $content is empty. However, there is absolutely no case in which $content will be empty because that variable is set directly above the conditional (and at the beginning of the function). It seems to me that the conditional should check $total, not $content, to determine if the function should return a value.

Comments

neclimdul’s picture

Status: Active » Fixed

Committed a fix for this 5 days ago but forgot to close the issue. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.