Forums / Bug Reports / [Done 1.3.9b] 1.3.8-1.3.9a very small html error in collect_info.php (closing tr tag)

[Done 1.3.9b] 1.3.8-1.3.9a very small html error in collect_info.php (closing tr tag)

Locked

Started by lunomad on 24 Apr 2010, 6:04 PM · Views: 1,912

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Apr 2010, 6:04 PM
#1
lunomad avatar

lunomad

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

[Done 1.3.9b] 1.3.8-1.3.9a very small html error in collect_info.php (closing tr tag)

In the admin/includes/modules/product/collect_info.php file, lines 270-272 read

          <tr>
            <td colspan="2" class="main" align="center"><?php echo (zen_get_categories_status($current_category_id) == '0' ? TEXT_CATEGORIES_STATUS_INFO_OFF : '') . ($out_status == true ? ' ' . TEXT_PRODUCTS_STATUS_INFO_OFF : ''); ?></td>
          <tr>

and the tr tag is not closed.

I believe this should be changed to:

         <tr>
            <td colspan="2" class="main" align="center"><?php echo (zen_get_categories_status($current_category_id) == '0' ? TEXT_CATEGORIES_STATUS_INFO_OFF : '') . ($out_status == true ? ' ' . TEXT_PRODUCTS_STATUS_INFO_OFF : ''); ?></td>
          </tr>

Note the / added to line 272 for closing the row (tr) tag.

24 Apr 2010, 8:10 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done 1.3.9b] 1.3.8-1.3.9a very small html error in collect_info.php (closing tr tag)

Good catch ...

That will need to be done in each of the collect_info.php files:

admin/includes/modules/document_general/collect_info.php
admin/includes/modules/document_product/collect_info.php
admin/includes/modules/product/collect_info.php
admin/includes/modules/product_free_shipping/collect_info.php
admin/includes/modules/product_music/collect_info.php

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 May 2010, 3:51 AM
#3
lunomad avatar

lunomad

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

Re: [Done 1.3.9b] 1.3.8-1.3.9a very small html error in collect_info.php (closing tr tag)

Thanks. Just moved and had no internet/computer for more than a week.

Glad to see plenty of bugs fixed in 1.3.9b. Upgrading soon!