Hi,
The problem appears to be your foreach loop is being looped more than once but only for the first two items (obvious I know). So the question is what is causing that? Where is $sp_option_classes from? A quick grep -R sp_option_classes * in my codebase says I don't have that variable.
Mocara
__________________
4.0.15
Linux
|