aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-04-14 21:40:34 +0000
committerrvelices <rv-github@modusoptimus.com>2014-04-14 21:40:34 +0000
commita4c0f7c3931e4290997ab5a6694bdbed581c5d61 (patch)
tree649f6742090f3d78ab38746497c8a6ceb72e1bf7
parentcac08d6f486f35322cfe873caaab7f730ac838b1 (diff)
attempt to make silent php warnings from emogrifier
git-svn-id: http://piwigo.org/svn/trunk@28185 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions_mail.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 8b93afdfe..8b20e1665 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -908,7 +908,7 @@ function move_css_to_body($content)
include_once(PHPWG_ROOT_PATH.'include/emogrifier.class.php');
$e = new Emogrifier($content);
- return $e->emogrify();
+ return @$e->emogrify();
}
/**