Bug 13618: (follow-up) Manually replace missing .raw
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Aug 2018 22:15:18 +0000 (19:15 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Sat, 25 Aug 2018 19:12:19 +0000 (19:12 +0000)
Must be |$raw, not |raw

Error:
Template process failed: undef error - raw: filter not found at
/home/vagrant/kohaclone/C4/Templates.pm line 122

To recreate:
Add a new restriction and visit circulation.pl?borrowernumber=42

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index e9d060f..dbf3e2d 100644 (file)
@@ -693,9 +693,9 @@ No patron matched <span class="ex">[% message | html %]</span>
                    [% IF ( debarredcomment ) %]
                        with the explanation: <br/><i>
                        [% IF debarredcomment.search('OVERDUES_PROCESS') %]
-                           Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | raw | html_line_break %]
+                           Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %]
                        [% ELSE %]
-                           [% debarredcomment | raw | html_line_break %]
+                           [% debarredcomment | $raw | html_line_break %]
                        [% END %]
                        </i>
                    [% END %]