Browse Source

Merge pull request #434 from nigelgbanks/7.x-fatal-error-during-ingest-form-batch-step

Prevent fatal error when using a batch within a multistep form.
pull/435/head
Morgan Dawe 11 years ago
parent
commit
515247aae7
  1. 4
      includes/tuque_wrapper.inc

4
includes/tuque_wrapper.inc

@ -8,7 +8,11 @@
* @todo Overload functions and apply pre/post hooks.
*/
// This function may not exist when a batch operation is running from a
// multistep form.
if (function_exists('drupal_get_path')) {
$islandora_module_path = drupal_get_path('module', 'islandora');
}
// @todo this until we expost these in a module or library
@include_once 'sites/all/libraries/tuque/Datastream.php';

Loading…
Cancel
Save