diff options
| author | Valery Sizov <vsv2711@gmail.com> | 2015-11-20 11:13:43 +0200 |
|---|---|---|
| committer | Valery Sizov <vsv2711@gmail.com> | 2015-11-20 11:13:43 +0200 |
| commit | f31ee525070d335aba8a189b304e3c446aedf1fb (patch) | |
| tree | 99f2a1ea4291e22903e35d5d4add04de557a7709 /app/controllers | |
| parent | 225bbf84edc2f809a9212379b5e527f14058d2b8 (diff) | |
| download | gitlab-ce-notes_fix_stable.tar.gz | |
Fix for Emojinotes_fix_stablenotes_fix
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/projects/notes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb index 263b8b8d94e..1e3f1d8fd2f 100644 --- a/app/controllers/projects/notes_controller.rb +++ b/app/controllers/projects/notes_controller.rb @@ -65,7 +65,7 @@ class Projects::NotesController < Projects::ApplicationController data = { author: current_user, is_award: true, - note: note_params[:note] + note: note_params[:note].gsub(":", '') } note = noteable.notes.find_by(data) |
