[Koha-bugs] [Bug 24110] Template vars are incorrectly html filtered when dumped

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 17 22:46:58 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24110

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98962|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 99135
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99135&action=edit
Bug 24110: Do not html filter TT vars when dumped

DumpTemplateVarsIntranet and DumpTemplateVarsOpac are devs tools to
display the variables sent to the template. They should not be filtered
otherwise it's getting complicate to read.

For instance: $VAR1 = { var => val }

Test plan:
Turn DumpTemplateVarsIntranet on
Go to the main page
Show the source of the page
Confirm that the variable are displayed as it and not filtered

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Confirmed variable is not filtered.
Fixed a little error on opac file (changed Use -> USE)
No other errors

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list