Browse Source

Add a couple comments.

pull/98/head
Adam Vessey 13 years ago
parent
commit
993a074f14
  1. 4
      ObjectHelper.inc

4
ObjectHelper.inc

@ -992,8 +992,8 @@ class ObjectHelper {
} }
else { else {
watchdog('fedora_repository', 'Error generating breadcrumbs for %pid. Verify there exists relationships back up to %root. (May also be due to a hierarchy deeper than %max_depth).', array('%pid' => $pid, '%root' => $root, '%max_depth' => $max_depth), WATCHDOG_WARNING); watchdog('fedora_repository', 'Error generating breadcrumbs for %pid. Verify there exists relationships back up to %root. (May also be due to a hierarchy deeper than %max_depth).', array('%pid' => $pid, '%root' => $root, '%max_depth' => $max_depth), WATCHDOG_WARNING);
$breadcrumbs[] = '...'; $breadcrumbs[] = '...'; //Add an non-link, as we don't know how to get back to the root.
$this->getBreadcrumbs($root, $breadcrumbs); $this->getBreadcrumbs($root, $breadcrumbs); //And render the last two links and break (on the next pass).
} }
} }
} }

Loading…
Cancel
Save