Browse Source

Merge pull request #175 from jmacwilliams/6.x

fixed typo in get_mimetype
pull/176/merge
Jonathan Green 12 years ago
parent
commit
623a20eb69
  1. 2
      api/fedora_item.inc

2
api/fedora_item.inc

@ -860,7 +860,7 @@ RDF;
$this->get_datastreams_list_as_SimpleXML(); $this->get_datastreams_list_as_SimpleXML();
$mimetype = ''; $mimetype = '';
foreach ($datastream_list as $datastream) { foreach ($this->datastreams_list as $datastream) {
foreach ($datastream as $datastreamValue) { foreach ($datastream as $datastreamValue) {
if ($datastreamValue->ID == $dsid) { if ($datastreamValue->ID == $dsid) {
return $datastreamValue->MIMEType; return $datastreamValue->MIMEType;

Loading…
Cancel
Save