diff --git a/libraries/joomla/html/html/email.php b/libraries/joomla/html/html/email.php
index 6c5ffd7ab185d..23ce7deffe1d1 100644
--- a/libraries/joomla/html/html/email.php
+++ b/libraries/joomla/html/html/email.php
@@ -82,7 +82,7 @@ public static function cloak($mail, $mailto = true, $text = '', $email = true)
}
else
{
- $replacement .= "\n document.getElementById('cloak$rand').innerHTML += 'addy" . $rand . "';";
+ $replacement .= "\n document.getElementById('cloak$rand').innerHTML += addy" . $rand . ";";
}
$replacement .= "\n //-->";