]> git.mxchange.org Git - friendica.git/blobdiff - mod/parse_url.php
Fix SQL error for missing AND operator
[friendica.git] / mod / parse_url.php
index 9adee8f65cd8d7d9c261f6d16522ea2ed0859cd9..a2b4c9e28a179c44b997a31602f6c0e2587e638f 100644 (file)
@@ -236,7 +236,8 @@ function parse_url_content(&$a) {
        $str_tags = '';
 
        $textmode = false;
-       if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
+
+       if(local_user() && (! feature_enabled(local_user(),'richtext')))
                $textmode = true;
 
        //if($textmode)