Bug 6096 Correctly return arrayref from GetAllShelves
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 7 Apr 2011 15:30:17 +0000 (17:30 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 7 Apr 2011 23:17:04 +0000 (11:17 +1200)
commitc0655aabe47cfe21e7846b7a8956db92c1e5b5d2
tree7e60e3b122fb379cfe41cfa47bf7aaf600d40a69
parent0cf2eccfe926f77753a2b948e2babf077e2975d3
Bug 6096 Correctly return arrayref from GetAllShelves

Follow on from bug 5529 GetAllShelves was also vaguely stuffing
an arrayref into an array
Some signs of cut and paste (unnecessary @params variable)
Calling code now does not have to shuffle the return about
to get the reference. Also removed a debug warn

Signed-off-by: fdurand <frederic.durand@univ-lyon2.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/VirtualShelves.pm
opac/opac-addbybiblionumber.pl