From 85c3d9409f2dfe7f367159156b06d5c28ac7609a 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. Signed-off-by: Elliott Davis Works as advertised. Follows coding guidelines. Signed-off-by: Jared Camins-Esakov --- admin/authorised_values.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 9e901821b7..c00bb645b6 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 -- 2.39.5