diff --git a/libraries/joomla/html/html/email.php b/libraries/joomla/html/html/email.php
index a93ec2a2aff86..df21f5fc0fc85 100644
--- a/libraries/joomla/html/html/email.php
+++ b/libraries/joomla/html/html/email.php
@@ -58,7 +58,7 @@ public static function cloak($mail, $mailto = true, $text = '', $email = true)
if ($text)
{
// Convert text - here is the right place
- $text = static::_convertEncoding($text);
+ $text = self::_convertEncoding($text);
if ($email)
{