Merge branch 'develop' of github.com:martini/zammad into develop
This commit is contained in:
commit
9e40e36bd8
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class ApplicationController < ActionController::Base
|
|||
data = {
|
||||
error: error
|
||||
}
|
||||
if error =~ /(already exists|duplicate key)/i
|
||||
if error =~ /(already exists|duplicate key|duplicate entry)/i
|
||||
data[:error_human] = 'Object already exists!'
|
||||
end
|
||||
data
|
||||
|
|
Loading…
Reference in a new issue