Needs review
Project:
Omega
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2011 at 10:47 UTC
Updated:
8 Jul 2015 at 20:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hmmdinger commentedAgreed. I just spent a good bit of time debugging some extra space in IE7 that ended up being because of this empty $tabs div.
Comment #2
othermachines commentedMarked #1385770: Tabs Wrapper printed even if tabs is empty as duplicate of this issue.
Comment #3
hydra commentedHad this issue also some times...
Comment #4
cellar door commentedah IE7 how we love you so... :)
Comment #5
himerus commentedComitted to 7.x-3.x
Comment #7
chris burge commentedRe-opening this issue as there is a regression in 7.x-4.x. The line is question is as follows in 7.x-4.x:
<?php print render($tabs); ?>This results in the re-introduction of the bug fixed by this issue in 7.x-3.x. This issue proposes fixing the regression by changing the line as follows:
<?php print ($tabs && !empty($tabs['#primary']) ? render($tabs) : '' ); ?>Patch is attached.
Comment #8
chris burge commentedI haven't tested either 7.x-5.x, and 8.x-5.x, but neither of these versions check
!empty($tabs['#primary']. It is probable that this bug exists in both versions, too. I'll defer to someone more active with the project on those versions.Comment #9
chris burge commentedComment #10
tedfordgif commentedThis could be seen as a dupe of the core bug #997408: $tabs is always set, which is closed-as-duplicate in favor of the more general bug #953034: [meta] Themes improperly check renderable arrays when determining visibility.