FIXED: case statement would fail if the specified parameter was not available either as a form param or variable.