Active
Project:
SOPAC
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Mar 2009 at 07:38 UTC
Updated:
24 Mar 2009 at 15:57 UTC
There are two versions of access arguments, only one is valid. See below:
$items[variable_get('sopac_url_prefix', 'cat/seek') . '/request'] = array(
'title' => 'Request an Item',
'page callback' => 'sopac_request_item',
'access arguments' => array('access content'),
'file' => 'sopac_catalog.php',
'type' => MENU_CALLBACK,
);
$items['user/checkouts'] = array(
'title' => 'My Checkouts',
'page callback' => 'sopac_checkouts_page',
'access arguments' => array('access user pages'),
'file' => 'sopac_user.php',
'type' => MENU_NORMAL_ITEM,
);
Comments
Comment #1
jblyberg commented