diff options
author | bugreport%peshkin.net <> | 2004-07-31 09:27:23 +0000 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-07-31 09:27:23 +0000 |
commit | 4c1db37570469aef2c7cc9f2ad9f859560ca8851 (patch) | |
tree | 17a519e7f08a85993b710ecd6d809bd9e4b40211 /Bugzilla/Error.pm | |
parent | 1ffd632931b05caea45f9c48079b455d156086be (diff) | |
download | bugs-4c1db37570469aef2c7cc9f2ad9f859560ca8851.tar bugs-4c1db37570469aef2c7cc9f2ad9f859560ca8851.tar.gz bugs-4c1db37570469aef2c7cc9f2ad9f859560ca8851.tar.bz2 bugs-4c1db37570469aef2c7cc9f2ad9f859560ca8851.tar.xz bugs-4c1db37570469aef2c7cc9f2ad9f859560ca8851.zip |
Bug 253588: Change Bugzilla->user to be usable even for a logged-out user
patch by erik,joel
r=kiko
a=justdave
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r-- | Bugzilla/Error.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index 548cbb24c..25527f599 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -47,7 +47,7 @@ sub _throw_error { $mesg .= "\n[$$] " . time2str("%D %H:%M:%S ", time()); $mesg .= "$name $error "; $mesg .= "$ENV{REMOTE_ADDR} " if $ENV{REMOTE_ADDR}; - $mesg .= Bugzilla->user->login if Bugzilla->user; + $mesg .= Bugzilla->user->login; $mesg .= "\n"; my %params = Bugzilla->cgi->Vars; $Data::Dumper::Useqq = 1; |