fix_mce_lf contact edit page
This commit is contained in:
parent
9b1bb53234
commit
8f40e8546e
|
@ -85,7 +85,7 @@ function contacts_post(&$a) {
|
||||||
if($priority > 5 || $priority < 0)
|
if($priority > 5 || $priority < 0)
|
||||||
$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',
|
$r = q("UPDATE `contact` SET `profile-id` = %d, `priority` = %d , `info` = '%s',
|
||||||
`hidden` = %d WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
`hidden` = %d WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||||
|
|
Loading…
Reference in a new issue