aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 20dd9e610..e40e94b55 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -907,17 +907,8 @@ function move_css_to_body($content)
{
include_once(PHPWG_ROOT_PATH.'include/emogrifier.class.php');
- // disable DOM warnings
- $e_state = libxml_use_internal_errors(true);
-
$e = new Emogrifier($content);
- // $e->preserveStyleTag = true;
- $content = $e->emogrify();
-
- libxml_clear_errors();
- libxml_use_internal_errors($e_state);
-
- return $content;
+ return $e->emogrify();
}
/**