Bugfix: The portable contacts send data as html but was expected to be bbcode. Now the html is converted to bbcode.

This commit is contained in:
Michael Vogel 2015-01-31 22:57:05 +01:00
parent 2d02153df1
commit a7e190b0cb

View file

@ -20,6 +20,9 @@ require_once('include/datetime.php');
function poco_load($cid,$uid = 0,$zcid = 0,$url = null) { function poco_load($cid,$uid = 0,$zcid = 0,$url = null) {
require_once("include/html2bbcode.php");
$a = get_app(); $a = get_app();
if($cid) { if($cid) {
@ -107,7 +110,7 @@ function poco_load($cid,$uid = 0,$zcid = 0,$url = null) {
$location = $entry->currentLocation; $location = $entry->currentLocation;
if(isset($entry->aboutMe)) if(isset($entry->aboutMe))
$about = $entry->aboutMe; $about = html2bbcode($entry->aboutMe);
if(isset($entry->gender)) if(isset($entry->gender))
$gender = $entry->gender; $gender = $entry->gender;