Skip to content

Commit

Permalink
Dev: added valid message to twig variable
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 16, 2017
1 parent ad8df5d commit 288a9a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/SurveyRuntimeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ public function run($surveyid,$args)
$thissurvey['aQuestion']['text'] = $qa[0]['text'];
$thissurvey['aQuestion']['SGQ'] = $qa[7];
$thissurvey['aQuestion']['input_error_class'] = $qa[0]['input_error_class'];
$thissurvey['aQuestion']['valid_message'] = $qa[0]['valid_message'];

$question_template = file_get_contents($sTemplateViewPath.'question.twig');
// Fix old template : can we remove it ? Old template are surely already broken by another issue
Expand Down

0 comments on commit 288a9a1

Please sign in to comment.