diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-03-08 15:43:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-03-08 15:43:36 +0000 |
commit | efa8b042c9589a5659d373bee0394483e649ed80 (patch) | |
tree | 36b47587eab8795f78abaaf2accb3f214f4f9c7f /modules/path | |
parent | 7add598ee2105dbe022cf859f851ada4790d1c4e (diff) | |
download | brdo-efa8b042c9589a5659d373bee0394483e649ed80.tar.gz brdo-efa8b042c9589a5659d373bee0394483e649ed80.tar.bz2 |
- Patch #52157 by Zen: can't edit path aliases.
Diffstat (limited to 'modules/path')
-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 d93ca5cef..f6f43125b 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -265,7 +265,7 @@ function path_form_alter($form_id, &$form) { '#collapsed' => TRUE, '#description' => t('Optionally specify an alternative URL by which this node can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'), ); - if ($node->path) { + if ($path) { $form['path']['pid'] = array( '#type' => 'value', '#value' => db_result(db_query("SELECT pid FROM {url_alias} WHERE dst = '%s'", $path)) |