Browse Source

accounting for PHP weirdness

pull/652/head
qadan 8 years ago
parent
commit
592623f0c3
  1. 3
      islandora.api.php

3
islandora.api.php

@ -759,7 +759,8 @@ function hook_islandora_derivative_alter(&$derivatives, AbstractObject $object,
'dateLastModified' => NULL, 'dateLastModified' => NULL,
'dsid' => NULL, 'dsid' => NULL,
); );
if (empty(array_diff_key($ds_modified_params, $mask))) { $param_diff = array_diff_key($ds_modified_params, $mask);
if (empty($param_diff)) {
$derivatives = array(); $derivatives = array();
} }
} }

Loading…
Cancel
Save