Skip to content

Commit

Permalink
fix(targetticket): unable to set type
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 24, 2022
1 parent c92021e commit 2e18634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ public function prepareInputForUpdate($input) {
}
}

if (isset($input['type_question'])) {
if (isset($input['type_rule'])) {
$input['type_question'] = '0';
switch ($input['type_rule']) {
case self::REQUESTTYPE_ANSWER:
Expand Down

0 comments on commit 2e18634

Please sign in to comment.