Browse Source

Fixed error when deleting emtpy collections. PID is now displayed properly

pull/124/merge
rwincewicz 13 years ago
parent
commit
d06288a292
  1. 2
      islandora_basic_collection/includes/delete_collection.inc

2
islandora_basic_collection/includes/delete_collection.inc

@ -113,7 +113,7 @@ function islandora_collection_deletion_form_submit($form, &$form_state) {
* @param string $pid
*/
function delete_root_collection($object) {
$pid = $object->id;
try {
$object->repository->purgeObject($object->id);
} catch (RepositoryException $e) {

Loading…
Cancel
Save