aboutsummaryrefslogtreecommitdiff
path: root/data/templates/search.menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/search.menu.php')
-rw-r--r--data/templates/search.menu.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/templates/search.menu.php b/data/templates/search.menu.php
index ce57aea..5a8f027 100644
--- a/data/templates/search.menu.php
+++ b/data/templates/search.menu.php
@@ -2,10 +2,13 @@
/* Managing all possible inputs */
-$select_watchlist = isset($select_watchlist)?$select_watchlist:'';
-$select_all = isset($select_all)?$select_all:'';
+$select_watchlist = isset($select_watchlist) ? $select_watchlist : '';
+$select_all = isset($select_all) ? $select_all : '';
$selected = ' selected="selected"';
+if (!isset($range)) {
+ $range = '';
+}
?>