From aa7029a2f22312252e88b48b0a81f9f95017dbd4 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Thu, 12 Apr 2012 17:02:29 -0300 Subject: [PATCH] Fix parameters to variable_get. Fool was I to think it was originally trying to get the correct variable (fedora_repository_title; actually should be fedora_repository_name) --- formClass.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/formClass.inc b/formClass.inc index 8648fe20..e6a3523b 100644 --- a/formClass.inc +++ b/formClass.inc @@ -70,8 +70,9 @@ class formClass { 'access arguments' => array('view fedora collection'), ); $items['fedora/repository'] = array( + 'title' => '', 'title callback' => 'variable_get', - 'title arguments' => array('fedora_repository_title', 'Digital Repository'), + 'title arguments' => array('fedora_repository_name', 'Digital Repository'), 'page callback' => 'repository_page', 'type' => MENU_NORMAL_ITEM, 'access arguments' => array('view fedora collection'),