--- pathauto_node_i18n.inc 2007-04-27 15:25:51.000000000 +0200 +++ pathauto_node_i18n.new 2007-05-01 08:19:55.000000000 +0200 @@ -5,7 +5,7 @@ * Implementation of hook_token_list() */ function pathauto_node_i18n_token_list($type = 'all') { - if ($type == 'node' || $type == 'all'): + if ($type == 'node' || $type == 'all') { $tokens['node']['lang'] = t("Language code of the document"); return $tokens; } @@ -16,7 +16,7 @@ function pathauto_node_i18n_token_list($ */ function pathauto_node_i18n_token_values($type, $object = NULL) { - if ($type == 'node'): + if ($type == 'node') { $tokens['lang'] = i18n_node_get_lang($node->nid, i18n_get_lang()); return $tokens; }