Skip to content

Commit

Permalink
Cleaning up syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Kylea Jackson committed Apr 6, 2015
1 parent da57037 commit de4d811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/derivatives.inc
Expand Up @@ -389,7 +389,7 @@ function islandora_pdf_add_datastream($object, $datastream_id, $file_uri) {
$ds = $object[$datastream_id];
}
if ($ds->mimetype != $mime_detector->getMimetype($file_uri)) {
$ds->mimetype = $mime_detector->getMimetype($file_uri);
$ds->mimetype = $mime_detector->getMimetype($file_uri);
}
$ds->setContentFromFile(drupal_realpath($file_uri), FALSE);
if ($ingest) {
Expand Down

0 comments on commit de4d811

Please sign in to comment.