mirror of
https://github.com/friendica/friendica
synced 2024-12-22 19:20:17 +00:00
Merge pull request #1337 from annando/1501-html-in-poco
Bugfix: The portable contacts send data as html
This commit is contained in:
commit
04f91aafac
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue