diff --git a/inc/targetticket.class.php b/inc/targetticket.class.php index a422c4b3b..b186370c6 100644 --- a/inc/targetticket.class.php +++ b/inc/targetticket.class.php @@ -1033,6 +1033,10 @@ protected function setTargetLocation($data, $formanswer) { protected function setTargetSource(array $data, PluginFormcreatorFormAnswer $formanswer): array { switch ($this->fields['source_rule']) { + case self::REQUESTSOURCE_NONE: + $data['requesttypes_id'] = PluginFormcreatorCommon::getFormcreatorRequestTypeId(); + break; + case self::REQUESTSOURCE_FORMCREATOR: $data['requesttypes_id'] = $this->fields['source_question']; break;