Skip to content

Commit

Permalink
Dev: beforeSurveyPage use surveyId, then use surveyId and not surveyid
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Sep 22, 2014
1 parent 0f7cd15 commit b2121e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/replacements_helper.php
Expand Up @@ -235,7 +235,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
* @param string help The help text
*/
$event = new PluginEvent('beforeQuestionRender');
$event->set('surveyid', $question['sid']);// or $thissurvey['sid']
$event->set('surveyId', $question['sid']);// or $thissurvey['sid']
$event->set('text', $question['text']);
$event->set('class', $question['class']);
$event->set('help', $question['help']);
Expand Down

0 comments on commit b2121e4

Please sign in to comment.