]> git.mxchange.org Git - friendica.git/commitdiff
correct nickname for display link on comment emails
authorFriendika <info@friendika.com>
Sat, 28 May 2011 01:54:43 +0000 (18:54 -0700)
committerFriendika <info@friendika.com>
Sat, 28 May 2011 01:54:43 +0000 (18:54 -0700)
mod/dfrn_notify.php

index 5d6f2c37177f704983e4f79cd14e69452df9e351..12e7ff7ced3482453e5510b2753b42fc3c9ea1d9 100644 (file)
@@ -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