diff options
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 f4f2a006d..b78754b8e 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -93,7 +93,7 @@ function path_set_alias($path = NULL, $alias = NULL, $pid = NULL, $language = '' db_query("UPDATE {url_alias} SET src = '%s', dst = '%s', language = '%s' WHERE pid = %d", $path, $alias, $language, $pid); } } - else if ($path && $alias) { + elseif ($path && $alias) { // Check for existing aliases. if ($alias == drupal_get_path_alias($path, $language)) { // There is already such an alias, neutral or in this language. |