Zen Cart Logo
Forums / Bug Reports / [Done 1.3.5] Small Bug in tpl_tabular_display.php

[Done 1.3.5] Small Bug in tpl_tabular_display.php

Locked

Views: 1,858

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Aug 2006, 3:45 PM
#1
dweingart avatar

dweingart

New Zenner

Join Date:
Mar 2006
Posts:
9
Plugin Contributions:
0

[Done 1.3.5] Small Bug in tpl_tabular_display.php

Line 32 currently reads:

if (isset($list_box_contents[$row][$col]['align'])) $c_params .= ' ' . $list_box_contents[$row][$col]['align'];

It should be:

if (!empty($list_box_contents[$row][$col]['align'])) $c_params .= ' align="' . $list_box_contents[$row][$col]['align'] . '"';

The TD align attributes don't work properly otherwise (also breaks XHTML compliance).

-dave

22 Aug 2006, 3:46 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done 1.3.5] Small Bug in tpl_tabular_display.php

Thanks Dave. That's been fixed and will be part of the next release.