fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Mail\Html::$system_charset in api/src/Mail/Html.php on line 233

This commit is contained in:
Ralf Becker 2016-03-31 11:40:17 +00:00
parent eb0f7d5978
commit df2791ab63

View File

@ -230,7 +230,7 @@ class Html
$isHTML = false;
// return $_html; // maybe we should not proceed at all
}
if ($displayCharset === false) $displayCharset = self::$system_charset;
if ($displayCharset === false) $displayCharset = Api\Translation::charset();
//error_log(__METHOD__.$_html);
#print '<hr>';
#print "<pre>"; print htmlspecialchars($_html);