From 57fc8d037299de9702546f3f00c5bb0765ac7517 Mon Sep 17 00:00:00 2001 From: mohrt Date: Mon, 17 Feb 2003 21:13:32 +0000 Subject: [PATCH] fix syntax error from previous commit --- libs/plugins/modifier.escape.php | 4 ++-- plugins/modifier.escape.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/plugins/modifier.escape.php b/libs/plugins/modifier.escape.php index c95d1d7f..1882c1a6 100644 --- a/libs/plugins/modifier.escape.php +++ b/libs/plugins/modifier.escape.php @@ -26,14 +26,14 @@ function smarty_modifier_escape($string, $esc_type = 'html') case 'hex': // escape every character into hex - return = ''; + $return = ''; for ($x=0; $x < strlen($string); $x++) { $return .= '%' . bin2hex($string[$x]); } return $return; case 'hexentity': - return = ''; + $return = ''; for ($x=0; $x < strlen($string); $x++) { $return .= '&#x' . bin2hex($string[$x]) . ';'; } diff --git a/plugins/modifier.escape.php b/plugins/modifier.escape.php index c95d1d7f..1882c1a6 100644 --- a/plugins/modifier.escape.php +++ b/plugins/modifier.escape.php @@ -26,14 +26,14 @@ function smarty_modifier_escape($string, $esc_type = 'html') case 'hex': // escape every character into hex - return = ''; + $return = ''; for ($x=0; $x < strlen($string); $x++) { $return .= '%' . bin2hex($string[$x]); } return $return; case 'hexentity': - return = ''; + $return = ''; for ($x=0; $x < strlen($string); $x++) { $return .= '&#x' . bin2hex($string[$x]) . ';'; }