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 377-384 Patrons: Link Here
377
     -
377
     -
378
         - pref: RedirectGuaranteeEmail
378
         - pref: RedirectGuaranteeEmail
379
           choices:
379
           choices:
380
               yes: Enable
380
               1: Enable
381
               no: Disable
381
               0: Disable
382
         - sending emails to both guarantees and their guarantor. This does not affect patrons without guarantors.
382
         - sending emails to both guarantees and their guarantor. This does not affect patrons without guarantors.
383
     -
383
     -
384
         - pref: AllowStaffToSetFinesVisibilityForGuarantor
384
         - pref: AllowStaffToSetFinesVisibilityForGuarantor
385
- 

Return to bug 35973