Browse Source

can not send a function to empty

pull/489/head
willtp87 11 years ago
parent
commit
8855039955
  1. 3
      includes/derivatives.inc

3
includes/derivatives.inc

@ -13,7 +13,8 @@
* The DSID to run the derivative function for. * The DSID to run the derivative function for.
*/ */
function islandora_run_derivatives (AbstractObject $object, $dsid) { function islandora_run_derivatives (AbstractObject $object, $dsid) {
if (empty(batch_get())) { $batch_array = batch_get();
if (empty($batch_array)) {
$logging_results = islandora_do_derivatives($object, array( $logging_results = islandora_do_derivatives($object, array(
'source_dsid' => $dsid, 'source_dsid' => $dsid,
)); ));

Loading…
Cancel
Save