Improved error handling.

This commit is contained in:
Martin Edenhofer 2016-03-16 10:53:41 +01:00
parent c0eae369d6
commit 292a31b6ef
2 changed files with 2 additions and 0 deletions

View file

@ -65,6 +65,7 @@ module Ticket::Number::Date
end
def check(string)
return if !string || string.empty?
# get config
system_id = Setting.get('system_id') || ''

View file

@ -70,6 +70,7 @@ module Ticket::Number::Increment
end
def check(string)
return if !string || string.empty?
# get config
system_id = Setting.get('system_id') || ''