diff options
-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 6be5d81ef..273f32923 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -195,7 +195,7 @@ function path_form_alter(&$form, $form_state, $form_id) { if ($path) { $form['path']['pid'] = array( '#type' => 'value', - '#value' => db_result(db_query("SELECT pid FROM {url_alias} WHERE dst = '%s'", $path)) + '#value' => db_result(db_query("SELECT pid FROM {url_alias} WHERE dst = '%s' AND language = '%s'", $path, $form['#node']->language)) ); } } |