summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-04-27 09:37:22 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-04-27 09:37:22 -0700
commit7d64f9578e7789320a0bb102b52002eaf9a6c4ac (patch)
treed05e9e961bbada9d5e12d8630ee01cecdd4babe8 /modules/taxonomy
parentd690e71b08df606e00fe9eb0e799d5aba372e5d1 (diff)
downloadbrdo-7d64f9578e7789320a0bb102b52002eaf9a6c4ac.tar.gz
brdo-7d64f9578e7789320a0bb102b52002eaf9a6c4ac.tar.bz2
Issue #1509838 by tim.plunkett, cosmicdreams klausi: Use elseif not else if
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 9f5711bf5..219f360cf 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1576,7 +1576,7 @@ function taxonomy_field_formatter_prepare_view($entity_type, $entities, $field,
$items[$id][$delta]['taxonomy_term'] = $terms[$item['tid']];
}
// Terms to be created are not in $terms, but are still legitimate.
- else if ($item['tid'] == 'autocreate') {
+ elseif ($item['tid'] == 'autocreate') {
// Leave the item in place.
}
// Otherwise, unset the instance value, since the term does not exist.