Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 7, 2012
2 parents c11d966 + 83eaa3b commit 95c1a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4424,7 +4424,7 @@ function doFooter()

// This function replaces field names in a text with the related values
// (e.g. for email and template functions)
function ReplaceFields ($text,$fieldsarray, $bReplaceInsertans=true)
function ReplaceFields ($text,$fieldsarray, $bReplaceInsertans=true, $staticReplace=true)
{

if ($bReplaceInsertans)
Expand All @@ -4434,7 +4434,7 @@ function ReplaceFields ($text,$fieldsarray, $bReplaceInsertans=true)
{
$replacements[substr($key,1,-1)] = $value;
}
$text = LimeExpressionManager::ProcessString($text, NULL, $replacements, false, 2, 1);
$text = LimeExpressionManager::ProcessString($text, NULL, $replacements, false, 2, 1, false, false, $staticReplace);
}
else
{
Expand Down

0 comments on commit 95c1a28

Please sign in to comment.