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

CommentFileSizeAuthor
pifr_menu.patch728 bytesaclight

Comments

boombatower’s picture

Status: Needs review » Fixed

I 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.