Browse Source

Merge remote branch 'origin/ISLANDORA-192' into islandora_form_builder

pull/105/head
Nigel Banks 14 years ago
parent
commit
51f078ea6d
  1. 3
      ObjectHelper.inc

3
ObjectHelper.inc

@ -1018,7 +1018,8 @@ class ObjectHelper {
$matches =str_getcsv(join("\n",$result));
if ($matches !== FALSE) {
$parent = preg_replace('/^info:fedora\//','',$matches[0]);
$breadcrumbs[] = l($matches[1], 'fedora/repository/' . $pid);
$text = isset($matches[1]) ? $matches[1] : '';
$breadcrumbs[] = l($text, 'fedora/repository/' . $pid);
if ($parent == variable_get('fedora_repository_pid', 'islandora:top')) {
$breadcrumbs[] = l(t('Digital repository'), 'fedora/repository');
$breadcrumbs[] = l(t('Home'), $base_url);

Loading…
Cancel
Save