From: Michael Vogel Date: Sat, 31 Jan 2015 21:57:05 +0000 (+0100) Subject: Bugfix: The portable contacts send data as html but was expected to be bbcode. Now... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7e190b0cb3d0e18d00f6d2204779362d5b430e8;p=friendica.git Bugfix: The portable contacts send data as html but was expected to be bbcode. Now the html is converted to bbcode. --- diff --git a/include/socgraph.php b/include/socgraph.php index 07bbee32ac..2738f8a70f 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;