Index: pathauto.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.module,v retrieving revision 1.118.2.29 diff -u -r1.118.2.29 pathauto.module --- pathauto.module 11 Aug 2010 19:38:26 -0000 1.118.2.29 +++ pathauto.module 21 Sep 2010 20:57:05 -0000 @@ -288,10 +288,10 @@ // If there is a pattern, show the automatic alias checkbox. if ($pattern) { if (!isset($node->pathauto_perform_alias)) { - if (!empty($node->nid)) { - // If this is not a new node, compare it's current alias to the - // alias that would be genereted by pathauto. If they are the same, - // then keep the automatic alias enabled. + if (!empty($node->nid) || $node->path) { + // If this is not a new node or an URL alias has already been set e. g. by i18nsync + // compare it's current alias to the alias that would be genereted by pathauto. + // If they are the same, then keep the automatic alias enabled. _pathauto_include(); $placeholders = pathauto_get_placeholders('node', $node); $pathauto_alias = pathauto_create_alias('node', 'return', $placeholders, "node/{$node->nid}", $node->nid, $node->type, $node->language);