mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Make sure note.system is false if created by user
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@ module Notes
|
||||
def execute
|
||||
note = project.notes.new(params[:note])
|
||||
note.author = current_user
|
||||
note.system = false
|
||||
note.save
|
||||
note
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user