[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.01-55-g3a3237da9c

Git repo owner gitmaster at git.koha-community.org
Mon Jul 13 18:29:48 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  3a3237da9c2f107a9d4e4a9e9383316ce10e6ecc (commit)
      from  a5e4c9b57e80e4a6453b6adbe13b7e24dd06c66c (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 3a3237da9c2f107a9d4e4a9e9383316ce10e6ecc
Author: Slava Shishkin <slavashishkin at gmail.com>
Date:   Wed May 13 20:20:27 2020 +0300

    Bug 25491: Fix for "Use of uninitialized value" in InstallAuth.pm
    
    This warning was thrown:
        Use of uninitialized value $info{"invalid_username_or_password"}
        in numeric eq (==) at /home/vagrant/kohaclone/C4/InstallAuth.pm
        line 387.
    
    There is the case when hash key can be undefined in numeric comparison.
    
    Fixed by adding additional precheck for
    $info{"invalid_username_or_password"} being Perl's "true".
    
    To test:
        1) Go to the first page of the web-installer where it asks to login.
        2) Observe the warning in the log file.
        3) Apply patch.
        4) Repeat step 1.
        7) Check that previous warning suppressed.
    
    Mentored-by: Andrew Nugged <nugged at gmail.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit d81438e143273a538c09cd16e7f92a83beed4027)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 C4/InstallAuth.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list