PennController for IBEX › Forums › Support › Automatic credit granting, and group assignment › Reply To: Automatic credit granting, and group assignment
April 29, 2020 at 11:36 am
#5174
![](https://www.pcibex.net/wp-content/uploads/2018/10/IMG_8365-e1540835663655-150x150.jpg)
Keymaster
That’s because the counter value from the URL is interpreted as a string but the switch statement tests for numbers. Use Number(GetURLParameter("withsquare")) to make sure the counter value from the URL is interpreted as a number.
Jeremy