fix_mce_lf contact edit page

This commit is contained in:
friendica 2012-04-10 16:32:38 -07:00
parent 9b1bb53234
commit 8f40e8546e
1 changed files with 1 additions and 1 deletions

View File

@ -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",