diff options
-rw-r--r-- | extensions/ComponentWatching/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ComponentWatching/Extension.pm b/extensions/ComponentWatching/Extension.pm index 654094191..9e61b4919 100644 --- a/extensions/ComponentWatching/Extension.pm +++ b/extensions/ComponentWatching/Extension.pm @@ -175,7 +175,7 @@ sub object_before_create { } else { my $input = Bugzilla->input_params; - $params->{watch_user} = $input->{watch_user}; + $params->{watch_user} = $input->{watch_user} // $params->{watch_user}; $self->_create_watch_user(); } } |