From: friendica Date: Tue, 10 Apr 2012 23:32:38 +0000 (-0700) Subject: fix_mce_lf contact edit page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8f40e8546ea6b64dd0b6a533019e0879f730ee13;p=friendica.git fix_mce_lf contact edit page --- diff --git a/mod/contacts.php b/mod/contacts.php index 8aa51d00ae..483655a6cb 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -85,7 +85,7 @@ function contacts_post(&$a) { if($priority > 5 || $priority < 0) $priority = 0; - $info = escape_tags(trim($_POST['info'])); + $info = fix_mce_lf(escape_tags(trim($_POST['info']))); $r = q("UPDATE `contact` SET `profile-id` = %d, `priority` = %d , `info` = '%s', `hidden` = %d WHERE `id` = %d AND `uid` = %d LIMIT 1",