summaryrefslogtreecommitdiff
path: root/modules/path/path.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-26 00:35:59 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-26 00:35:59 +0000
commiteb6b848de609469d313a1d48b6b7f8a559c9e289 (patch)
tree034aa0a102aeb6f4c4f4eaf78d5c2062257350cb /modules/path/path.module
parent2e0bb6e939e54c5cc8fe03e583d07b358cffb0c4 (diff)
downloadbrdo-eb6b848de609469d313a1d48b6b7f8a559c9e289.tar.gz
brdo-eb6b848de609469d313a1d48b6b7f8a559c9e289.tar.bz2
- Patch #110888 by Eaton: unify hook _alter()
Diffstat (limited to 'modules/path/path.module')
-rw-r--r--modules/path/path.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index ba70970e5..c245fb63b 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -267,7 +267,7 @@ function path_nodeapi(&$node, $op, $arg) {
/**
* Implementation of hook_form_alter().
*/
-function path_form_alter($form_id, &$form) {
+function path_form_alter(&$form, $form_id) {
if (isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) {
$path = isset($form['#node']->path) ? $form['#node']->path : NULL;
$form['path'] = array(