Skip to content

Commit

Permalink
Fixed issue #18043: Subquestion attributes shown in Short Free text q…
Browse files Browse the repository at this point in the history
…uesiton type
  • Loading branch information
c-schmitz committed Jun 1, 2022
1 parent a9450a5 commit 70bf2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/questionHelper.php
Expand Up @@ -315,7 +315,7 @@ public static function getAttributesDefinitions()
);

self::$attributes["em_validation_sq"] = array(
"types"=>";:KQSTUN",
"types"=>";:KQTUN",
'category'=>gT('Logic'),
'sortorder'=>220,
'inputtype'=>'textarea',
Expand All @@ -326,7 +326,7 @@ public static function getAttributesDefinitions()
);

self::$attributes["em_validation_sq_tip"] = array(
"types"=>";:KQSTUN",
"types"=>";:KQTUN",
'category'=>gT('Logic'),
'sortorder'=>230,
'inputtype'=>'textarea',
Expand Down

1 comment on commit 70bf2e7

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke existing survey : removing it without fixing it vien DB update : broke logic of existing survey.
(and when move : remind usage of this variable)

And really : it's cool to have 2 different validation …

Please sign in to comment.