summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-04-29 06:53:45 +0200
committerterry%netscape.com <>1999-04-29 06:53:45 +0200
commitbd5f6dc96becf60d0aa407581bdbc58fe0b49261 (patch)
treeeedcf3cfc2ec0de9b545c44949f028149a236fdc /buglist.cgi
parent727a3d8ec1cf8485874eda32e96fd53d27011ae0 (diff)
downloadbugzilla-bd5f6dc96becf60d0aa407581bdbc58fe0b49261.tar.gz
bugzilla-bd5f6dc96becf60d0aa407581bdbc58fe0b49261.tar.xz
Added a tiny bit of bulletproofing.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 196357804..a8c10d1c2 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -456,7 +456,7 @@ $fields =~ s/[&?]cmdtype=[^&]*//g;
my $oldorder;
-if (defined $::FORM{'order'}) {
+if (defined $::FORM{'order'} && trim($::FORM{'order'}) ne "") {
$oldorder = url_quote(", $::FORM{'order'}");
} else {
$oldorder = "";