[Koha-bugs] [Bug 34813] New: Passing empty array from pl result in empty string in tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 18 11:46:23 CEST 2023


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

            Bug ID: 34813
           Summary: Passing empty array from pl result in empty string in
                    tt
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

See https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155782

Back from holiday, might be a bit rusty, but this is a weird behaviour.
If you send test => [] from pl, [% test %] will display an empty string, and [%
test.size %] won't display 0

We may need to check some occurrences of
  % git grep '\.size == 0' **/*.tt **/*.inc

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


More information about the Koha-bugs mailing list