From ea36e81b91c8689ae44d413eca4697d1993ac30b Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 23 May 2009 09:45:29 +0200 Subject: avoid notice messages about undefined variables, resolves #179 Signed-off-by: Andreas Unterkircher --- themes/default/templates/search.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'themes/default/templates/search.tpl') diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index 672bb35..69de0a1 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -7,7 +7,7 @@ Tag: - { if $use_autocomplete } + { if isset($use_autocomplete) } { literal } { /literal } { else } - + { /if } @@ -31,7 +31,7 @@ Name: - + @@ -40,7 +40,7 @@ Date: - { if ! $date_search_enabled } + { if ! isset($date_search_enabled) } { else } @@ -60,11 +60,11 @@ - { if $has_rating } + { if isset($has_rating) } Rating: - { if ! $rate_search_enabled } + { if ! isset($rate_search_enabled) } { else } -- cgit v1.2.3-18-g5258