|
|
|
@ -207,7 +207,7 @@ class IslandoraFedoraApiM extends FedoraApiM {
|
|
|
|
|
'params' => $params, |
|
|
|
|
); |
|
|
|
|
islandora_alter_datastream($object, $datastream, $context); |
|
|
|
|
$params=$context['params']; |
|
|
|
|
$params = $context['params']; |
|
|
|
|
if (isset($params['lastModifiedDate'])) { |
|
|
|
|
$params['lastModifiedDate'] = (string) $object[$dsid]->createdDate; |
|
|
|
|
} |
|
|
|
@ -245,7 +245,7 @@ class IslandoraFedoraApiM extends FedoraApiM {
|
|
|
|
|
'params' => $params, |
|
|
|
|
); |
|
|
|
|
islandora_alter_object($object, $context); |
|
|
|
|
$params=$context['params']; |
|
|
|
|
$params = $context['params']; |
|
|
|
|
try { |
|
|
|
|
if ($context['block']) { |
|
|
|
|
throw new Exception('Modify Object was blocked.'); |
|
|
|
|