View | Details | Raw Unified | Return to bug 35973
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_35973.pl (+16 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "35973",
5
    description => "Correct system preference 'RedirectGuaranteeEmail'",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        # Do you stuffs here
11
        $dbh->do(q{UPDATE systempreferences SET value = 1 WHERE variable = "RedirectGuaranteeEmail" and value = "yes"});
12
        $dbh->do(q{UPDATE systempreferences SET value = 0 WHERE variable = "RedirectGuaranteeEmail" and value = "no"});
13
14
        say $out "Corrected system preference 'RedirectGuaranteeEmail'";
15
    },
16
};
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-3 / +2 lines)
Lines 373-380 Patrons: Link Here
373
     -
373
     -
374
         - pref: RedirectGuaranteeEmail
374
         - pref: RedirectGuaranteeEmail
375
           choices:
375
           choices:
376
               yes: Enable
376
               1: Enable
377
               no: Disable
377
               0: Disable
378
         - sending emails to both guarantees and their guarantor. This does not affect patrons without guarantors.
378
         - sending emails to both guarantees and their guarantor. This does not affect patrons without guarantors.
379
     -
379
     -
380
         - pref: AllowStaffToSetFinesVisibilityForGuarantor
380
         - pref: AllowStaffToSetFinesVisibilityForGuarantor
381
- 

Return to bug 35973