From 7e6807b7e5370431735853a5155de0fd07d6918f Mon Sep 17 00:00:00 2001 From: messju Date: Sat, 7 Feb 2004 20:15:45 +0000 Subject: [PATCH] removed notice of undefined variable. (thanks shuther!) --- libs/plugins/function.mailto.php | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/plugins/function.mailto.php b/libs/plugins/function.mailto.php index fbfb0aa4..92bb9d3b 100644 --- a/libs/plugins/function.mailto.php +++ b/libs/plugins/function.mailto.php @@ -100,6 +100,7 @@ function smarty_function_mailto($params, &$smarty) if ($encode == 'javascript' ) { $string = 'document.write(\''.$text.'\');'; + $js_encode = ''; for ($x=0; $x < strlen($string); $x++) { $js_encode .= '%' . bin2hex($string[$x]); }