]> git.mxchange.org Git - friendica.git/commitdiff
fix_mce_lf contact edit page
authorfriendica <info@friendica.com>
Tue, 10 Apr 2012 23:32:38 +0000 (16:32 -0700)
committerfriendica <info@friendica.com>
Tue, 10 Apr 2012 23:32:38 +0000 (16:32 -0700)
mod/contacts.php

index 8aa51d00ae471cea524192f33eb5c6a0dd9b0c38..483655a6cb691706671979b15fab365874ca73b1 100644 (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",