X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fenotify.php;h=b4331f0926679a871249e83cdba43c4f5fdb5ed2;hb=1581e02f8f2dd6c4515cbb33f3cb85b8f66ec8e0;hp=aba2f85163de9c68f75043b4fa5be520fe9cc383;hpb=feab17bfea374fd753b18157eeb8bf5cd61954cf;p=friendica.git diff --git a/include/enotify.php b/include/enotify.php index aba2f85163..b4331f0926 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -1,5 +1,7 @@ ' . $sitename . ''); + $itemlink = $params['link']; + } + if($params['type'] == NOTIFY_TAGSHARE) { $subject = sprintf( t('[Friendica:Notify] %s tagged your post') , $params['source_name']); $preamble = sprintf( t('%1$s tagged your post at %2$s') , $params['source_name'], $sitename); @@ -292,7 +326,7 @@ function notification($params) { // If so, create the record of it and use a message-id smtp header. if(!$r) { - logger("norify_id:" . intval($notify_id). ", parent: " . intval($params['parent']) . "uid: " . + logger("notify_id:" . intval($notify_id). ", parent: " . intval($params['parent']) . "uid: " . intval($params['uid']), LOGGER_DEBUG); $r = q("insert into `notify-threads` (`notify-id`, `master-parent-item`, `receiver-uid`, `parent-item`) values(%d,%d,%d,%d)", @@ -463,6 +497,7 @@ class enotify { $multipartMessageBody, // message body $messageHeader // message headers ); + logger("notification: enotify::send header " . 'To: ' . $params['toEmail'] . "\n" . $messageHeader, LOGGER_DEBUG); logger("notification: enotify::send returns " . $res, LOGGER_DEBUG); } }