Closed (duplicate)
Project:
Deco
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2009 at 23:28 UTC
Updated:
28 Nov 2011 at 22:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
preventingchaos commentedI changed
isset($block->subject)to!empty($block->subject), which now checks to see if the variable is empty, rather than set. Apparently$block->subjectis not set to NULL when leaving the block title blank or entering<none>, soisset($block->subject)still returns TRUE, even though it's empty.I don't know if this is a bug or a feature, but I'll provide the patch, and here's the old and new code of the entire file:
Old block.tpl.php:
New block.tpl.php
Comment #2
preventingchaos commentedForgot to set to 'needs review'.
Comment #3
adjustreality commentedtested and works perfect.
Comment #4
mrtoner commentedPatch works fine.
Comment #5
klaasvw commentedDuplicate of #172876: Block Titles bar shown even if block title empty