diff options
-rw-r--r-- | Bugzilla/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 44f9dd3f5..71e2358fe 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -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); |