Forums / Bug Reports / [Done 1.3.8] Maximum Display of Products All Page

[Done 1.3.8] Maximum Display of Products All Page

Locked

Started by rowanparker on 17 Aug 2008, 7:29 AM · Views: 1,390

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Aug 2008, 7:29 AM
#1
rowanparker avatar

rowanparker

New Zenner

Join Date:
Jul 2008
Posts:
1
Plugin Contributions:
0

[Done 1.3.8] Maximum Display of Products All Page

Hi all,

When I set this to either 0 or an empty string, it causes the SQL statement to fail. Looking at the failed statement (and not yet trying to find the corresponding PHP) it looks like it just inserts the value straight into the query string.

I think the code should check the value, and if it's 0 or an empty string, then remove the LIMIT keyword from the query - and show all the products on a single page.

19 Aug 2008, 4:36 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: [Done 1.3.8] Maximum Display of Products All Page

Division by 0 exists in many place ...

What are you trying to do that you have this set to 0 and yet what to try to use it?

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!