diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-02-27 19:27:20 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-02-27 19:27:20 +0000 |
commit | 951ed45e276ae26a290db209a4e91a8b22193acd (patch) | |
tree | 5804165fbe1bd6fc3304aeaf8249c74e458df178 | |
parent | b7e81dbc39881c174988d28fbc18b0460367d936 (diff) | |
download | brdo-951ed45e276ae26a290db209a4e91a8b22193acd.tar.gz brdo-951ed45e276ae26a290db209a4e91a8b22193acd.tar.bz2 |
#51602, Mis-typed user_access() in delete-confirm, patch by njivy
-rw-r--r-- | modules/path.module | 2 | ||||
-rw-r--r-- | modules/path/path.module | 2 |
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']))), |