aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2008-12-23 23:29:47 +0000
committermatthew <matthew>2008-12-23 23:29:47 +0000
commita3e640c1f395bb3be15751b7686e240b2af170fa (patch)
tree6e7ac0c03a449aab0b6de6108f4e66e1ae4e3916
parentccda3e53dcdf3b1889746bc9e37f5be090a25ae1 (diff)
Let DB tokens still work after not partial anymore.
-rwxr-xr-xweb/index.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 03566e7b1..820f86d5f 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.235 2008-12-23 23:25:26 matthew Exp $
+# $Id: index.cgi,v 1.236 2008-12-23 23:29:47 matthew Exp $
use strict;
use Standard;
@@ -59,6 +59,8 @@ sub main {
$q->param('has_photo', $row[5]);
$q->param('phone', $row[6]);
$q->param('partial', $partial);
+ } else {
+ print $q->redirect(-location => 'http://www.fixmystreet.com/report/' . $id);
}
}
}