1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 00:05:46 +02:00

Fix for toEmail() method encoding of quotes.

This commit is contained in:
Cameron
2015-05-21 21:49:32 -07:00
parent 02e0f7c548
commit de3f80f9ab
3 changed files with 38 additions and 5 deletions

View File

@@ -405,7 +405,7 @@ class notify
";
$shortcodes = array(
'NEWS_URL' => e107::getUrl()->create('news/view/item', $data,'full=1'),
'NEWS_URL' => e107::getUrl()->create('news/view/item', $data,'full=1&encode=0'),
'NEWS_TITLE' => $tp->toHtml($data['news_title']),
'NEWS_SUMMARY' => $tp->toEmail($data['news_summary']),
'NEWS_AUTHOR' => $tp->toHtml($author)