Bug 4491: FIX buildQuery if called with an empty limit
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 22 Aug 2012 12:12:09 +0000 (14:12 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 17 Sep 2012 16:19:49 +0000 (18:19 +0200)
commitcf97a72abf3e2a2f93f335bc0e6b04f9859056eb
tree3759acd2cf26ef3d6f8b87eb6ee2277c7377536d
parent0048c94b32fed9b6a4728be744db80821b621770
Bug 4491: FIX buildQuery if called with an empty limit

if @limit=('') buildQuery failed

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
All searches that I tried (keyword, indexed, CCL, with limits, without,
etc.) worked fine. There are warnings about uninitialized variables in
the OPAC, but they exist on master as well and therefore should not
block these patches.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Search.pm