Skip to content

Commit

Permalink
fix(abstractitiltarget): due date constants
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 24, 2022
1 parent f7ccc2b commit eda3c11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/abstractitiltarget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ protected function showDueDateSettings() {
}
// List questions
if ($this->fields['due_date_rule'] != self::DUE_DATE_RULE_ANSWER
&& $this->fields['due_date_rule'] != PluginFormcreatorAbstractTarget::DUE_DATE_RULE_CALC) {
&& $this->fields['due_date_rule'] != self::DUE_DATE_RULE_CALC) {
echo '<div id="due_date_questions" style="display:none">';
} else {
echo '<div id="due_date_questions">';
Expand All @@ -779,8 +779,8 @@ protected function showDueDateSettings() {
echo '</div>';

// time shift in minutes
if ($this->fields['due_date_rule'] != PluginFormcreatorAbstractTarget::DUE_DATE_RULE_TICKET
&& $this->fields['due_date_rule'] != PluginFormcreatorAbstractTarget::DUE_DATE_RULE_CALC) {
if ($this->fields['due_date_rule'] != self::DUE_DATE_RULE_TICKET
&& $this->fields['due_date_rule'] != self::DUE_DATE_RULE_CALC) {
echo '<div id="due_date_time" style="display:none">';
} else {
echo '<div id="due_date_time">';
Expand Down

0 comments on commit eda3c11

Please sign in to comment.