$items['pifr/reset/%'] = array(
'title' => 'Reset slave',
'page callback' => 'drupal_get_form',
'page arguments' => array('pifr_reset_slave_form', 2),
'access arguments' => array('manager pifr'),
'type' => MENU_CALLBACK,
'file' => 'pifr.pages.inc'
);
For 'access arguments', should be array('manage pifr'),
| Comment | File | Size | Author |
|---|---|---|---|
| pifr_menu.patch | 728 bytes | aclight |
Comments
Comment #1
boombatower commentedI swear I saw that the other day and my mind said, "Hmm that doesn't look right", but I never did anything about it.
Hehe, thx.
Committed.