aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterWebInterface/Util/FilterBox.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MasterWebInterface/Util/FilterBox.pm')
-rwxr-xr-xlib/MasterWebInterface/Util/FilterBox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MasterWebInterface/Util/FilterBox.pm b/lib/MasterWebInterface/Util/FilterBox.pm
index 8db7a60..40218ac 100755
--- a/lib/MasterWebInterface/Util/FilterBox.pm
+++ b/lib/MasterWebInterface/Util/FilterBox.pm
@@ -22,7 +22,7 @@ sub htmlFilterBox
end;
# filter box
- form action => $opt{gamename} ? "/s/$opt{gamename}" : "/s", 'accept-charset' => 'UTF-8', method => 'get';
+ form action => $opt{action}, 'accept-charset' => 'UTF-8', method => 'get';
fieldset class => 'simple';
a href => '/g', $opt{sel} eq 'g' ? (class => 'sel') : (), 'Games';
a href => '/s', $opt{sel} eq 's' ? (class => 'sel') : (), 'Servers';