avoid notice messages about undefined variables, resolves #179
[phpfspot.git] / themes / default / templates / tags.tpl
index 817cfbcf2a9590bb8a18be572ed7142c70573121..8a9521e8979cc4edbabca00672c65e4e365f6b6a 100644 (file)
@@ -8,7 +8,7 @@
   
  <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } title="OR condition" />||
  <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } title="AND condition" />&amp;&amp;
-{ if $preset_selected_tags }
+{ if isset($preset_selected_tags) }
  <div id="selected_tags">{ $preset_selected_tags }</div>
 { else }
  <div id="selected_tags">no tags selected</div>