main Koha release repository branch 17.05.x updated. v17.05.01-31-gd1de822

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

main Koha release repository branch 17.05.x updated. v17.05.01-31-gd1de822

Git repo owner
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 <[hidden email]>
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/ line 51.
    Signed-off-by: Aleisha Amohia <[hidden email]>
    Signed-off-by: Julian Maurice <[hidden email]>
    Signed-off-by: Jonathan Druart <[hidden email]>
    (cherry picked from commit a81947782bb884feccd5401499f1a6e8f469b0b0)
    Signed-off-by: Fridolin Somers <[hidden email]>


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

main Koha release repository
koha-commits mailing list
[hidden email]