Bugzilla – Attachment 91180 Details for
Bug 22630
Add ability to change the homebranch in course reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22630: Allow _RevertFields to set an empty value to item field
Bug-22630-Allow-RevertFields-to-set-an-empty-value.patch (text/plain), 925 bytes, created by
Julian Maurice
on 2019-07-02 08:51:49 UTC
(
hide
)
Description:
Bug 22630: Allow _RevertFields to set an empty value to item field
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2019-07-02 08:51:49 UTC
Size:
925 bytes
patch
obsolete
>From f27be78f9104db9cc5e05215a1dc9df973851a21 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 2 Jul 2019 10:42:03 +0200 >Subject: [PATCH] Bug 22630: Allow _RevertFields to set an empty value to item > field >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Sponsored-by: Université de Lyon 3 >--- > C4/CourseReserves.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/CourseReserves.pm b/C4/CourseReserves.pm >index e6ab9a8246..c567271b48 100644 >--- a/C4/CourseReserves.pm >+++ b/C4/CourseReserves.pm >@@ -591,7 +591,7 @@ sub _RevertFields { > > my $mod_item_params; > foreach my $field ( @FIELDS ) { >- if (defined $course_item->{$field} and $course_item->{$field} ne '') { >+ if (defined $course_item->{$field}) { > $mod_item_params->{$field} = $course_item->{$field}; > } > } >-- >2.20.1
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 22630
:
87355
|
87369
|
89037
|
89741
|
89742
|
89743
|
90023
|
90024
|
90025
|
90026
|
90027
|
90028
|
91177
|
91178
|
91179
|
91180
|
91575
|
91576
|
91577
|
91578
|
92579
|
92580
|
92603
|
92604
|
103556
|
103634
|
103635
|
103733
|
103734
|
103735
|
103736
|
105324