]> git.koha-community.org Git - koha.git/commit
Bug 5415 More consistent returns from SimpleSearch
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 6 Apr 2011 09:42:40 +0000 (11:42 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 8 Apr 2011 01:52:56 +0000 (13:52 +1200)
commit5444413a4f6183960f71a7f7eab69e953c515d69
treed6a30c1978f7600e820b1c04e736956acd01df4f
parent9210aac8cf7bead3a64bf5c290c4943f0d5b90aa
Bug 5415 More consistent returns from SimpleSearch

SimpleSearch returns a 3 element array the first pf which is an error
indication. If an error is returned the other elements are
undefined. If error is undef the other elements are defined
This restores the consistency of the interface as it was before
the addition of zebra

Signed-off-by: Christophe Croullebois <christophe.croullebois@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Search.pm