Fixed typo.

This commit is contained in:
Martin Edenhofer 2013-03-19 15:18:46 +01:00
parent cdc146897e
commit ae99f25a86
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ class Observer::Ticket::EscalationCalculation < ActiveRecord::Observer
def after_update(record) def after_update(record)
# return if we run import mode # 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 # prevent loops
return if record[:escalation_calc] return if record[:escalation_calc]

View file

@ -1029,7 +1029,7 @@ Setting.create_if_not_exists(
) )
Setting.create_if_not_exists( Setting.create_if_not_exists(
:title => 'Ignore Escalation/SLA Information', :title => 'Ignore Escalation/SLA Information',
:name => 'import_igonre_sla', :name => 'import_ignore_sla',
:area => 'Import::Base', :area => 'Import::Base',
:description => 'Ignore Escalation/SLA Information form import system.', :description => 'Ignore Escalation/SLA Information form import system.',
:options => { :options => {
@ -1037,7 +1037,7 @@ Setting.create_if_not_exists(
{ {
:display => '', :display => '',
:null => true, :null => true,
:name => 'import_igonre_sla', :name => 'import_ignore_sla',
:tag => 'boolean', :tag => 'boolean',
:options => { :options => {
true => 'yes', true => 'yes',