From 1d6a5741e076603850c80fa4dcaefc41db4185c2 Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Tue, 30 Oct 2012 13:29:40 -0400 Subject: [PATCH] Previously conditionals used the wrong case to reference request.POST. (imported from commit 2624def3745c3b26114ee1a1a9a20288e078b243) --- zephyr/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/views.py b/zephyr/views.py index 42b4bea102..3ffe67ab06 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -272,9 +272,9 @@ def get_old_messages_backend(request, user_profile=None, apply_markdown=True): if not ('start' in request.POST): return json_error("Missing 'start' parameter") - if not ('which' in request.post): + if not ('which' in request.POST): return json_error("Missing 'which' parameter") - if not ('number' in request.post): + if not ('number' in request.POST): return json_error("Missing 'number' parameter") start = int(request.POST.get("start"))