From a7e190b0cb3d0e18d00f6d2204779362d5b430e8 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 31 Jan 2015 22:57:05 +0100 Subject: [PATCH] Bugfix: The portable contacts send data as html but was expected to be bbcode. Now the html is converted to bbcode. --- include/socgraph.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/socgraph.php b/include/socgraph.php index 07bbee32a..2738f8a70 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -20,6 +20,9 @@ require_once('include/datetime.php'); function poco_load($cid,$uid = 0,$zcid = 0,$url = null) { + + require_once("include/html2bbcode.php"); + $a = get_app(); if($cid) { @@ -107,7 +110,7 @@ function poco_load($cid,$uid = 0,$zcid = 0,$url = null) { $location = $entry->currentLocation; if(isset($entry->aboutMe)) - $about = $entry->aboutMe; + $about = html2bbcode($entry->aboutMe); if(isset($entry->gender)) $gender = $entry->gender;