Commit 1dc403cc authored by Matthias Hutterer's avatar Matthias Hutterer
Browse files

#269199: fixes access denied error because of wrong definitions in

hook_menu. patch by ralessi, thanks
parent 9cfd83d3
......@@ -244,8 +244,8 @@ function email_menu() {
'title' => t('Email Contact Form'),
'page callback' => 'email_mail_page',
'page arguments' => array(1, 2),
'access callback' => 'node_access',
'access arguments' => array('view', 1),
'access callback' => 'user_access',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
return $items;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment