aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2008-12-03 18:21:22 +0000
committermatthew <matthew>2008-12-03 18:21:22 +0000
commit6e48e444c6d1e96ca4805257ad83b87ddc4e0aab (patch)
tree407805edcf65a0088be9534f57fc746986ac60d2
parent9764a91d7d5cfbaab73a189538333053c6be683e (diff)
Missed one.
-rwxr-xr-xweb/ajax.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/ajax.cgi b/web/ajax.cgi
index 43f1f16d8..c55e4563c 100755
--- a/web/ajax.cgi
+++ b/web/ajax.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: ajax.cgi,v 1.7 2008-12-03 18:11:55 matthew Exp $
+# $Id: ajax.cgi,v 1.8 2008-12-03 18:21:22 matthew Exp $
use strict;
use Standard;
@@ -67,7 +67,7 @@ sub main {
print $q->header(-charset => 'utf-8', -content_type => 'text/javascript');
- $pins =~ s/'/\'/g;
+ $pins =~ s/'/\\'/g;
$om_list =~ s/'/\\'/g;
$am_list =~ s/'/\\'/g;
#$f_list =~ s/'/\\'/g;