Browse Source

Fixed OBJECTHELPER couldn't be found outside of islandora bug

pull/87/head
Ben Woodhead 13 years ago
parent
commit
7101d28d7d
  1. 1
      fedora_repository.module

1
fedora_repository.module

@ -882,6 +882,7 @@ function fedora_repository_access($op, $node, $account) {
* @param $dsID String * @param $dsID String
*/ */
function makeObject($pid, $dsID) { function makeObject($pid, $dsID) {
module_load_include('inc', 'fedora_repository', 'ObjectHelper');
module_load_include('inc', 'fedora_repository', 'api/fedora_utils'); module_load_include('inc', 'fedora_repository', 'api/fedora_utils');
if (!valid_pid($pid)) { if (!valid_pid($pid)) {
drupal_set_message(t("Invalid PID!"), 'error'); drupal_set_message(t("Invalid PID!"), 'error');

Loading…
Cancel
Save