add case '0' to switch statement

If $params is equal to 0 he has no case and doesn't fit into the switch statement and causes a blank page