Browse Source

Merge pull request #151 from adam-vessey/6.x

6.x
pull/153/merge
Jonathan Green 13 years ago
parent
commit
d3b2ea36b5
  1. 4
      api/fedora_item.inc
  2. 3
      fedora_repository.module

4
api/fedora_item.inc

@ -980,7 +980,9 @@ RDF;
$params = array( $params = array(
'pid' => $this->pid, 'pid' => $this->pid,
'ownerId' => $ownerId, 'ownerId' => (($ownerId !== NULL)? //Default to the current owner if none is provided.
$ownerId:
$this->objectProfile->objOwnerId),
'state' => $state, 'state' => $state,
'label' => $label, 'label' => $label,
'logMessage' => $logMessage 'logMessage' => $logMessage

3
fedora_repository.module

@ -797,8 +797,9 @@ function fedora_repository_edit_qdc_form(&$form_state, $pid, $dsId = NULL) {
// There is no custom function, so just load the standard QDC form. // There is no custom function, so just load the standard QDC form.
$metaDataForm = new formClass(); $metaDataForm = new formClass();
//currently we only edit the dc metadata. If you defined a custom form with a custom handler you are sol for now. //currently we only edit the dc metadata. If you defined a custom form with a custom handler you are sol for now.
return $metaDataForm->createMetaDataForm($pid, $dsId, $client, $form_state); $output = $metaDataForm->createMetaDataForm($pid, $dsId, $client, $form_state);
} }
return $output; return $output;
} }

Loading…
Cancel
Save