app/soc/views/models/program.py
changeset 1917 334094450b77
parent 1911 87c3e62b28dc
child 1918 77c726b96916
--- a/app/soc/views/models/program.py	Tue Mar 17 18:03:31 2009 +0000
+++ b/app/soc/views/models/program.py	Tue Mar 17 20:24:59 2009 +0000
@@ -393,7 +393,7 @@
 
     get_dict = request.GET
 
-    if not (get_dict.get('limit') or get_dict.get('offset')):
+    if not (get_dict.get('limit') and get_dict.get('offset')):
       return self.json(request, {})
 
     try: