Fixed typo.
This commit is contained in:
parent
cdc146897e
commit
ae99f25a86
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ class Observer::Ticket::EscalationCalculation < ActiveRecord::Observer
|
|||
def after_update(record)
|
||||
|
||||
# return if we run import mode
|
||||
return if Setting.get('import_mode') && !Setting.get('import_igonre_sla')
|
||||
return if Setting.get('import_mode') && !Setting.get('import_ignore_sla')
|
||||
|
||||
# prevent loops
|
||||
return if record[:escalation_calc]
|
||||
|
|
|
@ -1029,7 +1029,7 @@ Setting.create_if_not_exists(
|
|||
)
|
||||
Setting.create_if_not_exists(
|
||||
:title => 'Ignore Escalation/SLA Information',
|
||||
:name => 'import_igonre_sla',
|
||||
:name => 'import_ignore_sla',
|
||||
:area => 'Import::Base',
|
||||
:description => 'Ignore Escalation/SLA Information form import system.',
|
||||
:options => {
|
||||
|
@ -1037,7 +1037,7 @@ Setting.create_if_not_exists(
|
|||
{
|
||||
:display => '',
|
||||
:null => true,
|
||||
:name => 'import_igonre_sla',
|
||||
:name => 'import_ignore_sla',
|
||||
:tag => 'boolean',
|
||||
:options => {
|
||||
true => 'yes',
|
||||
|
|
Loading…
Reference in a new issue