diff options
author | terry%netscape.com <> | 1999-04-29 06:53:45 +0200 |
---|---|---|
committer | terry%netscape.com <> | 1999-04-29 06:53:45 +0200 |
commit | bd5f6dc96becf60d0aa407581bdbc58fe0b49261 (patch) | |
tree | eedcf3cfc2ec0de9b545c44949f028149a236fdc /buglist.cgi | |
parent | 727a3d8ec1cf8485874eda32e96fd53d27011ae0 (diff) | |
download | bugzilla-bd5f6dc96becf60d0aa407581bdbc58fe0b49261.tar.gz bugzilla-bd5f6dc96becf60d0aa407581bdbc58fe0b49261.tar.xz |
Added a tiny bit of bulletproofing.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
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 = ""; |