aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-10 16:32:38 -0700
committerfriendica <info@friendica.com>2012-04-10 16:32:38 -0700
commit8f40e8546ea6b64dd0b6a533019e0879f730ee13 (patch)
tree22a8dcf96e41a05d5924ff15e758c0a17e60c8ee
parent9b1bb53234846f8dedbf10f0adf1033593ae26d7 (diff)
downloadvolse-hubzilla-8f40e8546ea6b64dd0b6a533019e0879f730ee13.tar.gz
volse-hubzilla-8f40e8546ea6b64dd0b6a533019e0879f730ee13.tar.bz2
volse-hubzilla-8f40e8546ea6b64dd0b6a533019e0879f730ee13.zip
fix_mce_lf contact edit page
-rw-r--r--mod/contacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index 8aa51d00a..483655a6c 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",