[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.04-20-g19a3ea8c96

Git repo owner gitmaster at git.koha-community.org
Fri Oct 16 17:35:41 CEST 2020


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, 20.05.x has been updated
       via  19a3ea8c968526cb5c8c3a94ce72e72e51856a03 (commit)
      from  deffb12491fa1a928a427b25f55ea5929f030266 (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 19a3ea8c968526cb5c8c3a94ce72e72e51856a03
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Tue Sep 15 12:09:56 2020 +0000

    Bug 26464: Code correction in opac-main when news_id passed
    
    Theoretical change. If somehow the search would return more than one result, the code is wrong.
    
    The if test can be simplified: remove scalar and >0.
    We should not pass @array to one param. It would theoretically add wrong items or
    trigger an odd number warning. If it is only one, it is no problem. But it is buggy.
    
    Test plan:
    Pass an existing news_id to opac-main. Item visible?
    And pass a not-existing. Error message?
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 22f14a7b6d45f3bf5ad57bd52203d4cdef724ce7)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 opac/opac-main.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list