[koha-commits] main Koha release repository branch new/bug_6253 updated. v3.04.00-745-gd80cf35

Git repo owner gitmaster at git.koha-community.org
Wed Oct 19 22:20:54 CEST 2011


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, new/bug_6253 has been updated
       via  d80cf35e9ba39112bfdefc3ce6ba8ddae121347c (commit)
      from  18b8991cf1832a0ee79a526e6438b51fdb4f3208 (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 d80cf35e9ba39112bfdefc3ce6ba8ddae121347c
Author: Ian Walls <ian.walls at bywatersolutions.com>
Date:   Wed Oct 19 11:46:21 2011 -0400

    Bug 6253 followup: explicitly check ref value for ARRAY before casting
    
    in C4::SQLHelper::_Process_Operands, $operand has been modified to be cast as an array ref
    if the incoming $operand is not a ref.  However, the incoming $operand could be some other
    kind of ref (hashref for example), which would case the dereferencing in line 419 to fail and exit.
    
    Adding an explicit test for whether the ref is ARRAY seems to clear up this issue.
    
    To test, run t/db_dependent/Members.t.  Before, it fails after test 3.  After, it completes all tests.
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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

Summary of changes:
 C4/SQLHelper.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list