Skip to content

Commit

Permalink
fix(bastractitiltarget): reapply a324ed9
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 23, 2022
1 parent 6d13eaf commit c4dac1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 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'] != 'calcul') {
&& $this->fields['due_date_rule'] != PluginFormcreatorAbstractTarget::DUE_DATE_RULE_CALC) {
echo '<div id="due_date_questions" style="display:none">';
} else {
echo '<div id="due_date_questions">';
Expand All @@ -778,8 +778,9 @@ protected function showDueDateSettings() {
);
echo '</div>';

if ($this->fields['due_date_rule'] != '2'
&& $this->fields['due_date_rule'] != '3') {
// 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) {
echo '<div id="due_date_time" style="display:none">';
} else {
echo '<div id="due_date_time">';
Expand Down

0 comments on commit c4dac1c

Please sign in to comment.