summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-20 11:13:43 +0200
committerValery Sizov <vsv2711@gmail.com>2015-11-20 11:13:43 +0200
commitf31ee525070d335aba8a189b304e3c446aedf1fb (patch)
tree99f2a1ea4291e22903e35d5d4add04de557a7709 /app/controllers
parent225bbf84edc2f809a9212379b5e527f14058d2b8 (diff)
downloadgitlab-ce-f31ee525070d335aba8a189b304e3c446aedf1fb.tar.gz
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/notes_controller.rb2
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)