diff --git a/libs/plugins/function.mailto.php b/libs/plugins/function.mailto.php
index abd1efbd..da5ea258 100644
--- a/libs/plugins/function.mailto.php
+++ b/libs/plugins/function.mailto.php
@@ -95,7 +95,7 @@ function smarty_function_mailto($params)
return;
}
if ($encode === 'javascript') {
- $string = '' . $text . '';
+ $string = '' . $text . '';
$js_encode = '';
for ($x = 0, $_length = strlen($string); $x < $_length; $x++) {
$js_encode .= '%' . bin2hex($string[ $x ]);
@@ -106,7 +106,7 @@ function smarty_function_mailto($params)
for ($x = 0, $_length = strlen($string); $x < $_length; $x++) {
$ord[] = ord($string[ $x ]);
}
- return '';
+ return '';
} elseif ($encode === 'hex') {
preg_match('!^(.*)(\?.*)$!', $address, $match);
if (!empty($match[ 2 ])) {