Closed (fixed)
Project:
Reviews
Version:
7.x-1.13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2013 at 05:46 UTC
Updated:
26 Apr 2013 at 19:00 UTC
reviews_permission() defines 'add reviews' but reviews_menu() is using 'add review'.
@@ -117,7 +122,7 @@ function reviews_menu() {
'title' => 'Add Review',
'page callback' => 'drupal_get_form',
'page arguments' => array('reviews_add_review', 1),
- 'access arguments' => array('add review'),
+ 'access arguments' => array('add reviews'),
'file' => 'includes/reviews.pages.inc',
'type' => variable_get('reviews_link_type', 'tab') == 'tab' ? MENU_LOCAL_TASK : MENU_CALLBACK,
);
Comments
Comment #1
scot.hubbard commentedFixed in release 7.x-1.14.
Comment #2
scot.hubbard commented