diff options
author | matthew <matthew> | 2007-04-19 12:08:53 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-04-19 12:08:53 +0000 |
commit | 1a31a43a6ea40d57cbca297f4b6614e6162577dd (patch) | |
tree | 81a3da246ecb641de99ca7c8d28776479c4a246d /web-admin | |
parent | eec04f402643e29e85d176b26cc52d39e8a35cd2 (diff) |
Alert on missing rows now, as they shouldn't get into the database anyway
unless something has been deleted and therefore needs looking at.
FIx missing hidden variables on admin page.
Diffstat (limited to 'web-admin')
-rwxr-xr-x | web-admin/index.cgi | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi index 4a2c7ff8f..57f6c3f53 100755 --- a/web-admin/index.cgi +++ b/web-admin/index.cgi @@ -7,10 +7,10 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: index.cgi,v 1.27 2007-04-17 21:36:48 matthew Exp $ +# $Id: index.cgi,v 1.28 2007-04-19 12:08:54 matthew Exp $ # -my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.27 2007-04-17 21:36:48 matthew Exp $'; +my $rcsid = ''; $rcsid .= '$Id: index.cgi,v 1.28 2007-04-19 12:08:54 matthew Exp $'; use strict; @@ -311,11 +311,10 @@ sub do_council_contacts ($$) { ); print $q->p($q->strong("Note: "), $q->textarea(-name => "note", -rows => 3, -columns=>40)); - $q->param('posted', 'new'); print $q->p( - $q->hidden('area_id'), - $q->hidden('posted'), - $q->hidden('page'), + $q->hidden('area_id', $area_id), + $q->hidden('posted', 'new'), + $q->hidden('page', 'councilcontacts'), $q->submit('Create category') ); print $q->end_form(); |