Closed (fixed)
Project:
Views Bonus Pack
Version:
5.x-1.2-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2008 at 15:02 UTC
Updated:
5 Jan 2009 at 18:00 UTC
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
Comment #1
neclimdulCommitted a fix for this 5 days ago but forgot to close the issue. Thanks.