Browse Source

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)
pull/95/head
Adam Vessey 13 years ago
parent
commit
aa7029a2f2
  1. 3
      formClass.inc

3
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'),

Loading…
Cancel
Save