From 92b7d52ff2fed05740ebe33be138b31e3687f838 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 12 Dec 2012 16:47:37 +0100 Subject: [PATCH] Bug 9272: Eliminate error when deleting authorized value Try to delete an authorized value. if you don't get any error, this patch works. Signed-off-by: Mirko Tietgen Enabled debug, tried with and without Plack, works fine for both. --- admin/authorised_values.pl | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 9e90182..c00bb64 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -224,8 +224,6 @@ if ($op eq 'add_form') { my $id = $input->param('id'); my $sth=$dbh->prepare("delete from authorised_values where id=?"); $sth->execute($id); - $sth = $dbh->prepare("DELETE FROM authorised_values_branches WHERE id = ?"); - $sth->execute($id); print "Content-Type: text/html\n\n"; exit; # END $OP eq DELETE_CONFIRMED -- 1.7.2.5