No, I've checked the $item_count variable before the call to format_plural and it was 0 (and the table is empty too, of course).
Is this happening only to me?
I fixed it checking if $item_count is 0 before of converting it to plural...
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Re: Re: Great thanks Lyle, but I
#1 Wed, 03/05/2008 - 10:26
No, I've checked the $item_count variable before the call to format_plural and it was 0 (and the table is empty too, of course). I fixed it checking if $item_count is 0 before of converting it to plural... Small issue with uc_cart (6 replies) Tue, 03/04/2008 - 08:43
|
|
Joined: 01/23/2008