summaryrefslogtreecommitdiff
path: root/modules/path/path.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-12 04:30:09 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-12 04:30:09 +0000
commitf76acb2d9d421ff705be6fd2713b8cc2c007e1df (patch)
tree9fe17e06724737f1a6579cf1a889a1222885412f /modules/path/path.module
parenta765e882ebf89969e81335a6df4fddb23d27095f (diff)
downloadbrdo-f76acb2d9d421ff705be6fd2713b8cc2c007e1df.tar.gz
brdo-f76acb2d9d421ff705be6fd2713b8cc2c007e1df.tar.bz2
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
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 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.