Fixed issue#413 - Can't process email / Error creating ticket with changed Ticket Number Format.
This commit is contained in:
parent
d7565e0f55
commit
9d5e5013dd
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,14 @@ module Ticket::Number::Date
|
||||||
# vehikel number. The modulus to 10 of this sum is substracted from
|
# vehikel number. The modulus to 10 of this sum is substracted from
|
||||||
# 10. See: http://www.pruefziffernberechnung.de/F/Fahrzeugnummer.shtml
|
# 10. See: http://www.pruefziffernberechnung.de/F/Fahrzeugnummer.shtml
|
||||||
# (german)
|
# (german)
|
||||||
|
|
||||||
|
# fix for https://github.com/zammad/zammad/issues/413 - can be removed later
|
||||||
|
if config.class == FalseClass || config.class == TrueClass
|
||||||
|
config = {
|
||||||
|
checksum: config
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
if config[:checksum]
|
if config[:checksum]
|
||||||
chksum = 0
|
chksum = 0
|
||||||
mult = 1
|
mult = 1
|
||||||
|
|
Loading…
Reference in a new issue