mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
Bug 254430: Fix User.pm so it returns a logged-out user if userid=0
r=erik, kiko a=justdave
This commit is contained in:
parent
60c695cf6d
commit
ce0af4d52f
@ -80,7 +80,7 @@ sub _create {
|
||||
'showmybugslink' => 0,
|
||||
};
|
||||
bless ($self, $class);
|
||||
return $self unless $cond;
|
||||
return $self unless $cond && $val;
|
||||
|
||||
# We're checking for validity here, so any value is OK
|
||||
trick_taint($val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user