Bug 38287: Add missing rule_value access
Test plan: 1) Access circuation rules: http://localhost:8081/cgi-bin/koha/admin/smart-rules.pl 2) Scroll down to "Default checkout, hold and return policy". Enter nothing. Hit 'Save'. 3) Notice on page reload there is a Koha:: object on the bookings inputs 4) Save again -> ERROR 5) Apply patch. Repeat. Signed-off-by: Sam Sowanick <sam.sowanick@corvallisoregon.gov> Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
35d90969f1
commit
49f4afa9c3
|
|
@ -764,10 +764,10 @@
|
|||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="bookings_lead_period" class="bookinglead" size="3" value="[% bookings_lead_period | html %]">
|
||||
<input type="text" name="bookings_lead_period" class="bookinglead" size="3" value="[% bookings_lead_period.rule_value | html %]">
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="bookings_trail_period" class="bookingtrail" size="3" value="[% bookings_trail_period | html %]">
|
||||
<input type="text" name="bookings_trail_period" class="bookingtrail" size="3" value="[% bookings_trail_period.rule_value | html %]">
|
||||
</td>
|
||||
<td>
|
||||
<select name="returnbranch">
|
||||
|
|
|
|||
Loading…
Reference in New Issue