Bug 11182: (QA followup) fix warning if itemBarcodeFallbackSearch set
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 31 Jan 2014 16:00:18 +0000 (13:00 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 29 Apr 2014 18:02:21 +0000 (18:02 +0000)
commitad8d567f18fa43b95cdc4baebc22f42659ee040e
tree8f3f42a352d93bf7d5a719948a7b20c98bc64c2e
parenta1ec753df7d7b8d0c86bd4b9459e864d82d0d999
Bug 11182: (QA followup) fix warning if itemBarcodeFallbackSearch set

To reproduce:
- On top of the previous patches, if you enable the
  itemBarcodeFallbackSearch syspref and do a search for a term that
  returns at least one result, there will be warnings for each result
  without items attached.

To test:

- In the checkout form enter a term that should return results (some of
  them without items attached)
=> There are warnings on the logs regarding a split of undef variable
- Apply the patch
- Repeat the first step
=> No warnings

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
circ/circulation.pl