diff -r 47c1048fc4ef -r 4d9bd851a5f5 app/soc/views/helper/requests.py --- a/app/soc/views/helper/requests.py Wed Mar 04 23:10:13 2009 +0000 +++ b/app/soc/views/helper/requests.py Wed Mar 04 23:10:38 2009 +0000 @@ -50,7 +50,7 @@ try: # GET parameter 'param_name' should be an integer value index - value_idx = int(value_idx) + value_idx = int(value_idx) if value_idx is not None else -1 except ValueError: # ignore bogus or missing parameter values, so return None (no message) return None