diff options
author | matthew <matthew> | 2007-06-17 10:28:41 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-06-17 10:28:41 +0000 |
commit | 729fdcda3ceaf2eee9a6a629dcc8a3d9f2c8b8ad (patch) | |
tree | fc80d40e88724d90530366df86c3f175f716df64 | |
parent | 9f232326e12ecca9f7d938d5c1f355d3e017a0e5 (diff) |
council field should be null, not ''
-rwxr-xr-x | bin/import-flickr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/import-flickr b/bin/import-flickr index dd45545d8..3a73921a8 100755 --- a/bin/import-flickr +++ b/bin/import-flickr @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: import-flickr,v 1.1 2007-06-17 09:40:50 matthew Exp $ +# $Id: import-flickr,v 1.2 2007-06-17 10:28:41 matthew Exp $ use strict; require 5.8.0; @@ -71,9 +71,9 @@ sub problem_create { # This is horrid my $s = dbh()->prepare("insert into problem (id, postcode, easting, northing, title, detail, name, - email, phone, photo, state, council, used_map, anonymous, category) + email, phone, photo, state, used_map, anonymous, category) values - (?, '', ?, ?, ?, '', ?, ?, '', ?, 'flickr', '', 't', 'f', '')"); + (?, '', ?, ?, ?, '', ?, ?, '', ?, 'flickr', 't', 'f', '')"); $s->bind_param(1, $id); $s->bind_param(2, $easting); $s->bind_param(3, $northing); |