Browse Source

add nonsort and trailing space

pull/403/head
yqjiang 11 years ago
parent
commit
2da712c546
  1. 2
      includes/tuque_wrapper.inc

2
includes/tuque_wrapper.inc

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

Loading…
Cancel
Save