From b5212153830602fa79d4931ef7373d6da27b2770 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 16 Oct 2017 20:57:53 +0000 Subject: [PATCH] Camels aren't studly --- include/html2bbcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/html2bbcode.php b/include/html2bbcode.php index e90f6c1094..c86d6581c6 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -338,7 +338,7 @@ function html2bbcode($message, $basepath = '') * * @return string The expanded URL */ -function AddHostnameSub($matches, $basepath) { +function addHostnameSub($matches, $basepath) { $base = parse_url($basepath); $link = $matches[0]; @@ -358,7 +358,7 @@ function AddHostnameSub($matches, $basepath) { * * @return string Body with expanded URLs */ -function AddHostname($body, $basepath) { +function addHostname($body, $basepath) { $URLSearchString = "^\[\]"; $matches = array("/\[url\=([$URLSearchString]*)\].*?\[\/url\]/ism",