From 94af6fb06485faa25918c45f5196a1094dcae384 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 27 May 2011 18:54:43 -0700 Subject: [PATCH] correct nickname for display link on comment emails --- mod/dfrn_notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 5d6f2c3717..12e7ff7ced 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -420,7 +420,7 @@ function dfrn_notify_post(&$a) { '$url' => $datarray['author-link'], // full url for the site '$from' => $from, // name of the person sending the message '$body' => $msg['htmlversion'], // html version of the message - '$display' => $a->get_baseurl() . '/display/' . $importer['nick'] . '/' . $posted_id, + '$display' => $a->get_baseurl() . '/display/' . $importer['nickname'] . '/' . $posted_id, )); // load the template for private message notifications @@ -433,7 +433,7 @@ function dfrn_notify_post(&$a) { '$url' => $datarray['author-link'], // full url for the site '$from' => $from, // name of the person sending the message '$body' => $msg['textversion'], // text version of the message - '$display' => $a->get_baseurl() . '/display/' . $importer['nick'] . '/' . $posted_id, + '$display' => $a->get_baseurl() . '/display/' . $importer['nickname'] . '/' . $posted_id, )); // use the EmailNotification library to send the message