diff options
author | terry%mozilla.org <> | 1999-05-06 07:06:49 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-05-06 07:06:49 +0200 |
commit | 38771ca6bcc1d4c4f1e2a03e7df2504e95ced117 (patch) | |
tree | 04cd9926f66c25a8550757c39679fc9608468a9d | |
parent | 7ffbdb6cde673c2dfb3e32904636c24b5c7f6b8d (diff) | |
download | bugzilla-38771ca6bcc1d4c4f1e2a03e7df2504e95ced117.tar.gz bugzilla-38771ca6bcc1d4c4f1e2a03e7df2504e95ced117.tar.xz |
Sigh. Fix some indentation I just screwed up.
-rwxr-xr-x | enter_bug.cgi | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index 53f7e172d..e8c77aa18 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -84,16 +84,16 @@ sub pickplatform { return $value; } if ( Param('usebrowserinfo') ) { - for ($ENV{'HTTP_USER_AGENT'}) { - /Mozilla.*\(Windows/ && do {return "PC";}; - /Mozilla.*\(Macintosh/ && do {return "Macintosh";}; - /Mozilla.*\(Win/ && do {return "PC";}; - /Mozilla.*Linux.*86/ && do {return "PC";}; - /Mozilla.*Linux.*alpha/ && do {return "DEC";}; - /Mozilla.*OSF/ && do {return "DEC";}; - /Mozilla.*HP-UX/ && do {return "HP";}; - /Mozilla.*IRIX/ && do {return "SGI";}; - /Mozilla.*(SunOS|Solaris)/ && do {return "Sun";}; + for ($ENV{'HTTP_USER_AGENT'}) { + /Mozilla.*\(Windows/ && do {return "PC";}; + /Mozilla.*\(Macintosh/ && do {return "Macintosh";}; + /Mozilla.*\(Win/ && do {return "PC";}; + /Mozilla.*Linux.*86/ && do {return "PC";}; + /Mozilla.*Linux.*alpha/ && do {return "DEC";}; + /Mozilla.*OSF/ && do {return "DEC";}; + /Mozilla.*HP-UX/ && do {return "HP";}; + /Mozilla.*IRIX/ && do {return "SGI";}; + /Mozilla.*(SunOS|Solaris)/ && do {return "Sun";}; } } # default @@ -106,10 +106,10 @@ sub pickversion { my $version = formvalue('version'); if ( Param('usebrowserinfo') ) { - if ($version eq "") { - if ($ENV{'HTTP_USER_AGENT'} =~ m@Mozilla[ /]([^ ]*)@) { - $version = $1; - } + if ($version eq "") { + if ($ENV{'HTTP_USER_AGENT'} =~ m@Mozilla[ /]([^ ]*)@) { + $version = $1; + } } } |