summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/path.module2
-rw-r--r--modules/path/path.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/path.module b/modules/path.module
index ca8cf7612..cce40f470 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 ca8cf7612..cce40f470 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']))),