@@ -213,7 +213,7 class IssuesController < ApplicationController | |||
|
213 | 213 | # Optimistic locking exception |
|
214 | 214 | flash.now[:error] = l(:notice_locking_conflict) |
|
215 | 215 | # Remove the previously added attachments if issue was not updated |
|
216 | attachments.each(&:destroy) | |
|
216 | attachments[:files].each(&:destroy) if attachments[:files] | |
|
217 | 217 | end |
|
218 | 218 | |
|
219 | 219 | def reply |
General Comments 0
You need to be logged in to leave comments.
Login now