]> git.mxchange.org Git - friendica.git/commitdiff
my php thinks this is a typo
authorZach Prezkuta <fermion@gmx.com>
Fri, 6 Jul 2012 02:39:22 +0000 (20:39 -0600)
committerZach Prezkuta <fermion@gmx.com>
Fri, 6 Jul 2012 02:39:22 +0000 (20:39 -0600)
include/bb2diaspora.php

index 75dadb84c8a12bb7da8e1215c8084db0526c3ae7..042177fd96ee27212c885f5f572d241c253c535d 100644 (file)
@@ -45,7 +45,7 @@ function diaspora2bb($s) {
 //     $s = str_replace('&#42;','*',$s);
 
        // protect the recycle symbol from turning into a tag, but without unescaping angles and naked ampersands
-       $s = str_replace('&#x2672;',html_entities_decode('&#x2672;',ENT_QUOTES,'UTF-8'),$s);
+       $s = str_replace('&#x2672;',html_entity_decode('&#x2672;',ENT_QUOTES,'UTF-8'),$s);
 
        // Convert everything that looks like a link to a link
        $s = preg_replace("/([^\]\=]|^)(https?\:\/\/)([a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)/ism", '$1[url=$2$3]$2$3[/url]',$s);