14.01.2011, 23:22
Use if(!strlen(params))
Instead of if(!strval(params))
because when params equals "0"
then the strval of params will be 0, and the if structure would be true
Instead of if(!strval(params))
because when params equals "0"
then the strval of params will be 0, and the if structure would be true