Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 8cc05c6

Browse files
committed
Fix Bug in PHP 7 Update
1 parent aed962e commit 8cc05c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rwf/lib/template/templatecompiler.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1060,19 +1060,19 @@ protected function compileOutputTag($tag) {
10601060
//HTML Encode
10611061
if ($encodeHTML === true) {
10621062

1063-
$compiledTag = 'RWF\Util\String::encodeHTML(' . $compiledTag . ')';
1063+
$compiledTag = 'RWF\Util\StringUtils::encodeHTML(' . $compiledTag . ')';
10641064
}
10651065

10661066
//Strip HTML
10671067
if ($stripHTML === true) {
10681068

1069-
$compiledTag = 'RWF\Util\String::stripHTML(' . $compiledTag . ')';
1069+
$compiledTag = 'RWF\Util\StringUtils::stripHTML(' . $compiledTag . ')';
10701070
}
10711071

10721072
//Number Format
10731073
if ($numFormat === true) {
10741074

1075-
$compiledTag = 'RWF\Util\String::numberFormat(' . $compiledTag . ')';
1075+
$compiledTag = 'RWF\Util\StringUtils::numberFormat(' . $compiledTag . ')';
10761076
}
10771077

10781078
return '<?php echo ' . $compiledTag . '; ?>';

0 commit comments

Comments
 (0)