diff --git a/modules/path.module b/modules/path.module index ca8cf7612bdfab0f2efd00dd8db4d26294d5039e..cce40f470cecad843c0e6438c54a17a1d7bbb3f3 100644 --- a/modules/path.module +++ b/modules/path.module @@ -100,7 +100,7 @@ function path_admin_edit($pid = 0) { **/ function path_admin_delete_confirm($pid) { $path = path_load($pid); - if (user_access('administer path aliases')) { + if (user_access('administer url aliases')) { $form['pid'] = array('#type' => 'value', '#value' => $pid); $output = confirm_form('path_admin_delete_confirm', $form, t('Are you sure you want to delete path alias %title?', array('%title' => theme('placeholder', $path['dst']))), diff --git a/modules/path/path.module b/modules/path/path.module index ca8cf7612bdfab0f2efd00dd8db4d26294d5039e..cce40f470cecad843c0e6438c54a17a1d7bbb3f3 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -100,7 +100,7 @@ function path_admin_edit($pid = 0) { **/ function path_admin_delete_confirm($pid) { $path = path_load($pid); - if (user_access('administer path aliases')) { + if (user_access('administer url aliases')) { $form['pid'] = array('#type' => 'value', '#value' => $pid); $output = confirm_form('path_admin_delete_confirm', $form, t('Are you sure you want to delete path alias %title?', array('%title' => theme('placeholder', $path['dst']))),