[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.01-31-gd1de822

Git repo owner gitmaster at git.koha-community.org
Mon Jul 10 12:36:44 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 17.05.x has been updated
       via  d1de8225e81b4a35c603cf7896c28fbaed55b20e (commit)
      from  87cf7af3cd659dad5606685f262c12450e5356ef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1de8225e81b4a35c603cf7896c28fbaed55b20e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Jul 5 20:03:24 2017 -0300

    Bug 18870: Force scalar context for Koha::Club methods
    
    These 2 methods are called from the template in list context.
    However since bug 18539 Koha::Objects->find can no longer be called in
    list context.
    Forcing the context to scalar fixes the problem and should not
    introduced side-effects.
    
    Test plan:
    - Create a club template
    - Create a club using this template
    => Without this patch you should no longer get the following error:
    Template process failed: undef error - Cannot use "->find" in list
    context at /home/vagrant/kohaclone/Koha/Club.pm line 51.
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit a81947782bb884feccd5401499f1a6e8f469b0b0)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 Koha/Club.pm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list