diff --git a/admin-dev/themes/default/template/helper/form/form.tpl b/admin-dev/themes/default/template/helper/form/form.tpl
index 10fd735f7..4dbdc7eef 100644
--- a/admin-dev/themes/default/template/helper/form/form.tpl
+++ b/admin-dev/themes/default/template/helper/form/form.tpl
@@ -163,15 +163,28 @@
{/foreach}
{else}
{foreach $input.options.query AS $option}
-
+ {if is_object($option)}
+
+ {else}
+
+
+ {/if}
{/foreach}
{/if}