From 1a31a43a6ea40d57cbca297f4b6614e6162577dd Mon Sep 17 00:00:00 2001 From: matthew Date: Thu, 19 Apr 2007 12:08:53 +0000 Subject: 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. --- web-admin/index.cgi | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'web-admin/index.cgi') 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(); -- cgit v1.2.3