Browse Source

Decode the pid when retrieved from the url as it may be encoded, which causes problems with tuque.

pull/229/head
Nigel Banks 12 years ago
parent
commit
96a4eb6279
  1. 2
      islandora.module

2
islandora.module

@ -507,7 +507,7 @@ function islandora_object_load($object_id) {
$tuque = islandora_get_tuque_connection();
if ($tuque) {
try {
$object = $tuque->repository->getObject($object_id);
$object = $tuque->repository->getObject(urldecode($object_id));
drupal_alter('islandora_object', $object);
return $object;
} catch (Exception $e) {

Loading…
Cancel
Save