Closed (fixed)
Project:
Zen
Version:
7.x-3.x-dev
Component:
PHP Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2011 at 03:07 UTC
Updated:
5 Mar 2011 at 03:31 UTC
Currently, the Zen theme displays the "Comments" heading even if there aren't any comments. Core checks to see if ($content['comments']) before printing the heading, but that is flawed since that array may be non-empty yet not render to anything.
Same is true for the comment form.
So we need to pre-render both the $content['comments'] and the $content['comment_form']. :-p
Comments
Comment #1
johnalbinFixed. http://drupal.org/cvs?commit=502268