Skip to content

Commit 475d4ae

Browse files
committed
fix(targetticket): bad class for constants
1 parent 61cf134 commit 475d4ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

inc/targetticket.class.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,10 @@ public function prepareInputForUpdate($input) {
581581

582582
if (isset($input['urgency_rule'])) {
583583
switch ($input['urgency_rule']) {
584-
case PluginFormcreatorAbstractTarget::URGENCY_RULE_ANSWER:
584+
case self::URGENCY_RULE_ANSWER:
585585
$input['urgency_question'] = $input['_urgency_question'];
586586
break;
587-
case PluginFormcreatorAbstractTarget::URGENCY_RULE_SPECIFIC:
587+
case self::URGENCY_RULE_SPECIFIC:
588588
$input['urgency_question'] = $input['_urgency_specific'];
589589
break;
590590
default:
@@ -594,11 +594,11 @@ public function prepareInputForUpdate($input) {
594594

595595
if (isset($input['sla_rule'])) {
596596
switch ($input['sla_rule']) {
597-
case PluginFormcreatorAbstractTarget::SLA_RULE_SPECIFIC:
597+
case self::SLA_RULE_SPECIFIC:
598598
$input['sla_question_tto'] = $input['_sla_specific_tto'];
599599
$input['sla_question_ttr'] = $input['_sla_specific_ttr'];
600600
break;
601-
case PluginFormcreatorAbstractTarget::SLA_RULE_FROM_ANWSER:
601+
case self::SLA_RULE_FROM_ANWSER:
602602
$input['sla_question_tto'] = $input['_sla_questions_tto'];
603603
$input['sla_question_ttr'] = $input['_sla_questions_ttr'];
604604
break;
@@ -607,11 +607,11 @@ public function prepareInputForUpdate($input) {
607607

608608
if (isset($input['ola_rule'])) {
609609
switch ($input['ola_rule']) {
610-
case PluginFormcreatorAbstractTarget::OLA_RULE_SPECIFIC:
610+
case self::OLA_RULE_SPECIFIC:
611611
$input['ola_question_tto'] = $input['_ola_specific_tto'];
612612
$input['ola_question_ttr'] = $input['_ola_specific_ttr'];
613613
break;
614-
case PluginFormcreatorAbstractTarget::OLA_RULE_FROM_ANWSER:
614+
case self::OLA_RULE_FROM_ANWSER:
615615
$input['ola_question_tto'] = $input['_ola_questions_tto'];
616616
$input['ola_question_ttr'] = $input['_ola_questions_ttr'];
617617
break;

0 commit comments

Comments
 (0)