Skip to content

Commit

Permalink
fix(targetticket): bad constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Sep 6, 2022
1 parent 52e3536 commit 48dda4f
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 @@ -541,7 +541,7 @@ public function prepareInputForAdd($input) {
$input['source_rule'] = self::REQUESTSOURCE_SPECIFIC;
}
$input['source_question'] = 0;
if ($input['source_rule'] == self::REQUESTTYPE_SPECIFIC) {
if ($input['source_rule'] == self::REQUESTSOURCE_SPECIFIC) {
$input['source_question'] = PluginFormcreatorCommon::getFormcreatorRequestTypeId();
}
return $input;
Expand Down

0 comments on commit 48dda4f

Please sign in to comment.