]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: The "about" field in the introductions should be send through bbcode
authorMichael Vogel <icarus@dabo.de>
Fri, 25 Sep 2015 15:47:37 +0000 (17:47 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 25 Sep 2015 15:47:37 +0000 (17:47 +0200)
mod/notifications.php

index 82e13b1be5c2a08219a20bde99744f2eed96ec82..44f6dd5675ffeda3610674adfd1ce86b47173837 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+include_once("include/bbcode.php");
 
 function notifications_post(&$a) {
 
@@ -213,12 +214,12 @@ function notifications_content(&$a) {
                                        '$uid' => $_SESSION['uid'],
                                        '$intro_id' => $rr['intro_id'],
                                        '$contact_id' => $rr['contact-id'],
-                                       '$photo' => ((x($rr,'photo')) ? $rr['photo'] : "images/person-175.jpg"),
+                                       '$photo' => ((x($rr,'photo')) ? proxy_url($rr['photo']) : "images/person-175.jpg"),
                                        '$fullname' => $rr['name'],
                                        '$location_label' => t('Location:'),
                                        '$location' => $rr['glocation'],
                                        '$location_label' => t('Location:'),
-                                       '$about' => $rr['gabout'],
+                                       '$about' => proxy_parse_html(bbcode($rr['gabout'], false, false)),
                                        '$about_label' => t('About:'),
                                        '$keywords' => $rr['gkeywords'],
                                        '$keywords_label' => t('Tags:'),