[Koha-bugs] [Bug 5529] Staff client shows "Your lists:" and "public lists:" when there are none

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 6 13:43:22 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5529

Colin Campbell <colin.campbell at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |colin.campbell at ptfs-europe.
                   |                            |com

--- Comment #1 from Colin Campbell <colin.campbell at ptfs-europe.com> 2011-04-06 11:43:22 UTC ---
Testing a fix.

Problem is some poor code in C4::VirtualShelves, it assigns a array_ref to an
array in array context so that if you look at pubshelves in search.pl it is
actually a 1 element array that element being a reference to an empty array
i.e. [ [], ] so it is true consisting of 1 element.

Need to ensure nowhere relies on incorrect behaviour

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list