We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0acb6 commit 144fc49Copy full SHA for 144fc49
1 file changed
inc/question.class.php
@@ -352,7 +352,6 @@ private function checkBeforeSave($input) : array {
352
return [];
353
}
354
// - field type is compatible with accessibility of the form
355
- $form = PluginFormcreatorCommon::getForm();
356
$section = PluginFormcreatorSection::getById($input[PluginFormcreatorSection::getForeignKeyField()]);
357
$form = PluginFormcreatorForm::getByItem($section);
358
if ($form->isPublicAccess() && !$this->field->isPublicFormCompatible()) {
0 commit comments