one of those days...

This commit is contained in:
friendica 2013-06-17 17:19:05 -07:00
parent 94c758080f
commit 49802d9a47

View File

@ -356,13 +356,13 @@ function notification($params) {
$body))),ENT_QUOTES,'UTF-8')); $body))),ENT_QUOTES,'UTF-8'));
$htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"), $htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"),
"<br />\n",$body))), ENT_QOUTES,'UTF-8'); "<br />\n",$body))), ENT_QUOTES,'UTF-8');
// use $_SESSION['zid_override'] to force zid() to use // use $_SESSION['zid_override'] to force zid() to use
// the recipient address instead of the current observer // the recipient address instead of the current observer
$_SESSION['zid_override'] = $recip['channel_address'] . '@' . $get_app()->get_hostname(); $_SESSION['zid_override'] = $recip['channel_address'] . '@' . get_app()->get_hostname();
$textversion = zidify_links($textversion); $textversion = zidify_links($textversion);
$htmlversion = zidify_links($htmlversion); $htmlversion = zidify_links($htmlversion);