Bugzilla – Attachment 14313 Details for
Bug 9272
Plack goes into paroxysms of horror when faced with deleting an authorized value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9272: Eliminate error when deleting authorized value
Bug-9272-Eliminate-error-when-deleting-authorized-.patch (text/plain), 1.26 KB, created by
Elliott Davis
on 2012-12-28 15:38:06 UTC
(
hide
)
Description:
Bug 9272: Eliminate error when deleting authorized value
Filename:
MIME Type:
Creator:
Elliott Davis
Created:
2012-12-28 15:38:06 UTC
Size:
1.26 KB
patch
obsolete
>From f368f37feb5baa8f53fe4e562ba42b90c47b5bb6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >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 <mirko@abunchofthings.net> >Enabled debug, tried with and without Plack, works fine for both. > >Signed-off-by: Elliott Davis <elliott@bywatersolions.com> >Works as advertised. Follows coding guidelines. >--- > 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<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=authorised_values.pl?searchfield=$searchfield&offset=$offset\"></html>"; > exit; > # END $OP eq DELETE_CONFIRMED >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9272
:
14038
|
14044
|
14106
| 14313