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

(-)a/installer/data/mysql/atomicupdate/bug_29943.pl (-1 / +16 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
3
return {
4
    bug_number => 29943,
5
    description => "Fix typo in NOTIFY_MANAGER notice",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        # Correct "[% borrowers." (where present and restricted to specific notice)
11
        $dbh->do(q|
12
UPDATE letter SET content = REPLACE(content, '[% borrowers.', '[% borrower.')
13
WHERE code = 'NOTIFY_MANAGER'
14
        |);
15
    },
16
};

Return to bug 29943