We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a7a52c commit c6f7743Copy full SHA for c6f7743
1 file changed
inc/abstractitiltarget.class.php
@@ -2290,7 +2290,6 @@ public function getDefaultData(PluginFormcreatorFormAnswer $formanswer): array {
2290
2291
$data = $targetItemtype::getDefaultValues();
2292
2293
-
2294
$data = $this->setTargetCategory($data, $formanswer);
2295
2296
$this->fields[$targetTemplateFk] = $this->getTargetTemplate($data);
@@ -2338,12 +2337,10 @@ public function getDefaultData(PluginFormcreatorFormAnswer $formanswer): array {
2338
2337
2339
$data = array_merge($data, $predefined_fields);
2340
2341
2342
if (($data['requesttypes_id'] ?? 0) == 0) {
2343
unset($data['requesttypes_id']);
2344
}
2345
2346
2347
return $data;
2348
2349
0 commit comments