Skip to content

Commit

Permalink
Fixes booking editing permissions. Refs drupal-modules#23. Refs drupa…
Browse files Browse the repository at this point in the history
  • Loading branch information
nseam committed Sep 24, 2015
1 parent d25dba2 commit 3c79adb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion booking_timeslots.booking.inc
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,8 @@ function booking_timeslots_booking_menu(&$items) {
'title' => 'Edit',
'page callback' => array('drupal_get_form'),
'page arguments' => array('booking_timeslots_booking_form_edit', 1),
'access arguments' => array('edit booking entities'),
'access callback' => 'booking_timeslots_booking_access',
'access arguments' => array('edit', 1),
'file' => 'booking_timeslots.booking.inc',
'type' => MENU_LOCAL_TASK,
'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE,
Expand Down

0 comments on commit 3c79adb

Please sign in to comment.