Browse Source

Merge pull request #373 from jonathangreen/7.x

Fixed bug with datastream alter.
pull/344/merge
Jordan Dukart 12 years ago
parent
commit
b391c9f213
  1. 3
      includes/tuque_wrapper.inc

3
includes/tuque_wrapper.inc

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

Loading…
Cancel
Save