Bugfix: The "about" field in the introductions should be send through bbcode

This commit is contained in:
Michael Vogel 2015-09-25 17:47:37 +02:00
parent 6b744aa71c
commit c7b80b532a

View file

@ -1,4 +1,5 @@
<?php <?php
include_once("include/bbcode.php");
function notifications_post(&$a) { function notifications_post(&$a) {
@ -213,12 +214,12 @@ function notifications_content(&$a) {
'$uid' => $_SESSION['uid'], '$uid' => $_SESSION['uid'],
'$intro_id' => $rr['intro_id'], '$intro_id' => $rr['intro_id'],
'$contact_id' => $rr['contact-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'], '$fullname' => $rr['name'],
'$location_label' => t('Location:'), '$location_label' => t('Location:'),
'$location' => $rr['glocation'], '$location' => $rr['glocation'],
'$location_label' => t('Location:'), '$location_label' => t('Location:'),
'$about' => $rr['gabout'], '$about' => proxy_parse_html(bbcode($rr['gabout'], false, false)),
'$about_label' => t('About:'), '$about_label' => t('About:'),
'$keywords' => $rr['gkeywords'], '$keywords' => $rr['gkeywords'],
'$keywords_label' => t('Tags:'), '$keywords_label' => t('Tags:'),