]> git.mxchange.org Git - friendica.git/commitdiff
Some more camels
authorMichael <heluecht@pirati.ca>
Mon, 16 Oct 2017 20:59:16 +0000 (20:59 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 16 Oct 2017 20:59:16 +0000 (20:59 +0000)
include/html2bbcode.php

index c86d6581c605a82ba397129c5579f6c5f3a06828..a95c08cd564470c1147a58aa360e07a10af8e596 100644 (file)
@@ -324,7 +324,7 @@ function html2bbcode($message, $basepath = '')
        $message = trim($message);
 
        if ($basepath != '') {
-               $message = AddHostname($message, $basepath);
+               $message = addHostname($message, $basepath);
        }
 
        return $message;
@@ -374,7 +374,7 @@ function addHostname($body, $basepath) {
        foreach ($matches AS $match) {
                $body = preg_replace_callback($match,
                                                function ($match) use ($basepath) {
-                                                       return AddHostnameSub($match, $basepath);
+                                                       return addHostnameSub($match, $basepath);
                                                }, $body);
        }
        return $body;