Skip to content

Commit

Permalink
Fixed issue #13574: Some placeholders no longer available in 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed May 28, 2018
1 parent 4e85c01 commit 43a3248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/replacements_helper.php
Expand Up @@ -439,6 +439,7 @@ function getStandardsReplacementFields($thissurvey)

// Set the array of replacement variables here - don't include curly braces
$coreReplacements = array();
$coreReplacements['NUMBEROFQUESTIONS'] = $_SESSION['survey_'.$surveyid]['totalquestions'];
$coreReplacements['ACTIVE'] = (isset($thissurvey['active']) && !($thissurvey['active'] != "Y"));
$coreReplacements['DATESTAMP'] = $_datestamp;
$coreReplacements['EXPIRY'] = $_dateoutput;
Expand Down

0 comments on commit 43a3248

Please sign in to comment.