diff options
Diffstat (limited to 'app/finders/notes_finder.rb')
-rw-r--r-- | app/finders/notes_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/notes_finder.rb b/app/finders/notes_finder.rb index 06d01245e90..8f610d7dddb 100644 --- a/app/finders/notes_finder.rb +++ b/app/finders/notes_finder.rb @@ -37,7 +37,7 @@ class NotesFinder target_iid = @params[:target_iid] return @target = nil unless target_type - return @target = nil unless (target_id || target_iid) + return @target = nil unless target_id || target_iid @target = if target_type == "commit" |