Bugzilla – Attachment 14044 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.02 KB, created by
Jonathan Druart
on 2012-12-12 15:49:20 UTC
(
hide
)
Description:
Bug 9272: Eliminate error when deleting authorized value
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-12-12 15:49:20 UTC
Size:
1.02 KB
patch
obsolete
>From d705a55c4f4121758d4fee6cfc9d857c96a81c3a 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. >--- > admin/authorised_values.pl | 2 -- > 1 file changed, 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.10.4
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