summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/UserAgent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 6ad771fab..7071a37b6 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -165,7 +165,7 @@ sub detect_platform {
}
sub detect_op_sys {
- my $userAgent = $ENV{'HTTP_USER_AGENT'};
+ my $userAgent = $ENV{'HTTP_USER_AGENT'} || '';
my @detected;
my $iterator = natatime(2, OS_MAP);
while (my($re, $ra) = $iterator->()) {