From a2d528b91f29b14ee469a57d8a6726f5b6bdad7d Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Mon, 16 Apr 2012 16:33:02 -0300 Subject: [PATCH] Fix a couple more places where the incorrect variable name was used. --- ObjectHelper.inc | 2 +- formClass.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ObjectHelper.inc b/ObjectHelper.inc index a9358df0..b671e1d5 100644 --- a/ObjectHelper.inc +++ b/ObjectHelper.inc @@ -981,7 +981,7 @@ class ObjectHelper { $breadcrumbs[] = l($matches[1], 'fedora/repository/' . $pid); if ($parent == variable_get('fedora_repository_pid', 'islandora:root')) { //$breadcrumbs[] = l(t('Digital repository'), 'fedora/repository'); - $breadcrumbs[] = l(variable_get('fedora_repository_title', 'Digital repository'), 'fedora/repository'); + $breadcrumbs[] = l(variable_get('fedora_repository_name', 'Digital repository'), 'fedora/repository'); $breadcrumbs[] = l(t('Home'), $base_url); } elseif ($level > 0) { diff --git a/formClass.inc b/formClass.inc index e6a3523b..c17bb35b 100644 --- a/formClass.inc +++ b/formClass.inc @@ -288,7 +288,7 @@ class formClass { $form['fedora_repository_title'] = array( '#type' => 'textfield', '#title' => t('Digital Repository Title'), - '#default_value' => variable_get('fedora_repository_title', 'Digital Repository'), + '#default_value' => variable_get('fedora_repository_name', 'Digital Repository'), '#description' => t('The title displayed when viewing collections and objects in /fedora/repository. Leave blank to display no title. Note that the menus must be rebuilt after changing this variable.'), ); $form['advanced'] = array(