MFHD compressed holdings short-circuit logic user/dbwells/mfhd_empty_holdings_protect
authorDan Wells <dbw2@calvin.edu>
Tue, 21 Jun 2011 15:44:10 +0000 (11:44 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 21 Jun 2011 15:44:10 +0000 (11:44 -0400)
commita57c2e8fef11c062f91356cdbb2f806f072aa9fb
tree34592fcaec7fcfbb8205999192475e233b21ab7a
parent804ce3723c05cb44da0dc8fceef68138b709cf13
MFHD compressed holdings short-circuit logic

If you attempt to get compressed (or uncompressed) holdings from
a MFHD record with only a caption, the code should short-circuit
and return an empty list.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm