In the XHTML it is wrapped in which is generated from template.php. I don't know enough about this to sort it.

Luke.

Comments

Lucretia9’s picture

In fact, changing the first && to an || on line 560 of template.php fixes the problem, whether or not this works for all cases, I don't know:

if (isset($element['#attributes']['style']) || (stristr($element['#attributes']['style'], 'display: none;') || stristr($element['#attributes']['class'], 'fivestar-submit'))) {

rather than:

if (isset($element['#attributes']['style']) && (stristr($element['#attributes']['style'], 'display: none;') || stristr($element['#attributes']['class'], 'fivestar-submit'))) {

jeremycaldwell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

dpatte’s picture

Version: 6.x-2.x-dev » 6.x-2.0

I just upgraded to version 2.0 from 1.4 and also see this problem. Is changing template.php still the best solution?

Thanks

jeremycaldwell’s picture

Yes changing the template.php is still the way to go here.