You are here:  » Category Bug


Category Bug

Submitted by searley on Thu, 2006-02-16 14:26 in

There is a little bug in categories and brands

see: http://www.uk-gadgetsonline.com/category/

its to do with capitalization

Submitted by support on Thu, 2006-02-16 15:10

Hi,

This is fixed in the current distribution. It actually affects both the category and brand index pages; and is simply because the code to test for a change in first letter is not case in-sensative. To fix it for categories; look for the line:

$firstLetter = substr($row["category"],0,1);

..and change to:

$firstLetter = strtoupper(substr($row["category"],0,1));

Cheers,
David.

Submitted by support on Thu, 2006-02-16 16:20

Also note: the only reason this doesn't affect the merchant index is because the merchant name is processed with ucwords() during registration...