bug 3409 follow: fix crash if holdingbranch is undef
authorGalen Charlton <gmcharlt@gmail.com>
Sun, 23 Aug 2009 13:19:49 +0000 (09:19 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Sun, 23 Aug 2009 14:05:09 +0000 (10:05 -0400)
commit223d1fa6e873a94c8960688e5031c34828551f1d
tree13fe55074d99f5bad1af1bee6fc2ac13f1c14c31
parent80820af3f62df722b4c3e03595731b908f09791f
bug 3409 follow: fix crash if holdingbranch is undef

Make _GetCircControlBranch() default to the item's home library
in the case where it otherwise would have returned the item's
holding library but that field is null.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Circulation.pm