Bug 6096

Summary: GetAllShelves has obfuscated return type
Product: Koha Reporter: Colin Campbell <colin.campbell>
Component: ListsAssignee: Colin Campbell <colin.campbell>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, frederic.durand
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Proposed Patch

Description Colin Campbell 2011-04-06 15:10:50 UTC
GetAllShelves suffers from the same problem as caused bug 5529 the scalar return of the db fetchall_arrayref is stored in an array. Not surprising the calling code is outputting debug code!! Refactor the routine to do what we think it is correct
Comment 1 Colin Campbell 2011-04-06 15:37:13 UTC
Created attachment 3755 [details] [review]
Proposed Patch
Comment 2 Frederic Durand 2011-04-07 15:30:46 UTC
Everything looks ok.
Comment 3 Chris Cormack 2011-04-07 23:19:09 UTC
Pushed, please test
Comment 4 Jared Camins-Esakov 2012-12-30 23:59:51 UTC
There have been no further reports of problems so I am marking this bug resolved.