From 7d64f9578e7789320a0bb102b52002eaf9a6c4ac Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Fri, 27 Apr 2012 09:37:22 -0700 Subject: Issue #1509838 by tim.plunkett, cosmicdreams klausi: Use elseif not else if --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy') 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. -- cgit v1.2.3