diff --git a/Models/SurveyAnswer.php b/Models/SurveyAnswer.php index 77c6c12..057af92 100755 --- a/Models/SurveyAnswer.php +++ b/Models/SurveyAnswer.php @@ -30,7 +30,7 @@ final class SurveyAnswer * @var int * @since 1.0.0 */ - protected int $id = 0; + public int $id = 0; /** * Constructor diff --git a/Models/SurveyTemplate.php b/Models/SurveyTemplate.php index b69544f..fa93aee 100755 --- a/Models/SurveyTemplate.php +++ b/Models/SurveyTemplate.php @@ -36,7 +36,7 @@ class SurveyTemplate * @var int * @since 1.0.0 */ - protected int $id = 0; + public int $id = 0; /** * Status. diff --git a/Models/SurveyTemplateElement.php b/Models/SurveyTemplateElement.php index 344148b..8b0f32b 100755 --- a/Models/SurveyTemplateElement.php +++ b/Models/SurveyTemplateElement.php @@ -32,7 +32,7 @@ class SurveyTemplateElement * @var int * @since 1.0.0 */ - protected int $id = 0; + public int $id = 0; /** * Type. diff --git a/Models/SurveyTemplateElementL11n.php b/Models/SurveyTemplateElementL11n.php index 2600e10..ceea284 100755 --- a/Models/SurveyTemplateElementL11n.php +++ b/Models/SurveyTemplateElementL11n.php @@ -32,7 +32,7 @@ class SurveyTemplateElementL11n implements \JsonSerializable * @var int * @since 1.0.0 */ - protected int $id = 0; + public int $id = 0; /** * Surveys ID. diff --git a/Models/SurveyTemplateL11n.php b/Models/SurveyTemplateL11n.php index 5cdc0fc..665dff9 100755 --- a/Models/SurveyTemplateL11n.php +++ b/Models/SurveyTemplateL11n.php @@ -32,7 +32,7 @@ class SurveyTemplateL11n implements \JsonSerializable * @var int * @since 1.0.0 */ - protected int $id = 0; + public int $id = 0; /** * Surveys ID. diff --git a/Models/SurveyTemplateLabelL11n.php b/Models/SurveyTemplateLabelL11n.php index 4a3f0f5..e9001a5 100755 --- a/Models/SurveyTemplateLabelL11n.php +++ b/Models/SurveyTemplateLabelL11n.php @@ -32,7 +32,7 @@ class SurveyTemplateLabelL11n implements \JsonSerializable * @var int * @since 1.0.0 */ - protected int $id = 0; + public int $id = 0; /** * element ID. diff --git a/Theme/Backend/surveys-create.tpl.php b/Theme/Backend/surveys-create.tpl.php index ec486bb..2733dae 100755 --- a/Theme/Backend/surveys-create.tpl.php +++ b/Theme/Backend/surveys-create.tpl.php @@ -146,15 +146,15 @@ echo $this->getData('nav')->render(); ?> foreach ($elementValues as $elementValue) : if ($element->type === SurveyElementType::CHECKBOX) : ?>