diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-12 14:25:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-12 14:25:45 +0000 |
commit | de723ba8b5bdf292e757047b341f0759eae6f939 (patch) | |
tree | 98db7a5add0d9c4b95c7b8e78d0c5df3060f5ad8 /modules/path/path.module | |
parent | 477028c288ed7b20d8783a4f4c42662565a80343 (diff) | |
download | brdo-de723ba8b5bdf292e757047b341f0759eae6f939.tar.gz brdo-de723ba8b5bdf292e757047b341f0759eae6f939.tar.bz2 |
- Patch #40393 by Richard: fixed permissions of URL settings on node submission page.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 5ba006086..1a7f7b9a4 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -219,7 +219,7 @@ function path_nodeapi(&$node, $op, $arg) { * Implementation of hook_form_alter(). */ function path_form_alter($form_id, &$form) { - if (isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) { + if (user_access('create url aliases') && isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) { $path = $form['#node']->path; $form['path'] = array( '#type' => 'fieldset', |