Bug Fix: Clear empty objects from original callnumber
authorBill Erickson <berick@esilibrary.com>
Mon, 20 Jun 2011 15:17:29 +0000 (11:17 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 20 Jun 2011 15:17:29 +0000 (11:17 -0400)
commit4e582d1e4f18b6ee4dfe215ce6bbf20a07fa1511
treef08c0d4f96566513c3c0eda83b52dd89af9787f1
parentb6e7dc7b7ba7f0bae6b88e25ae74d7d63403535e
Bug Fix: Clear empty objects from original callnumber

When updating the callnumber on a copy, make sure we fetch the original
callnumber to test for emptiness and cleanup, instead of trying to clean
up the newly assigned callnumber (which will never be "empty").

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm