Some more camels
This commit is contained in:
parent
b521215383
commit
3eed3316ea
|
@ -324,7 +324,7 @@ function html2bbcode($message, $basepath = '')
|
||||||
$message = trim($message);
|
$message = trim($message);
|
||||||
|
|
||||||
if ($basepath != '') {
|
if ($basepath != '') {
|
||||||
$message = AddHostname($message, $basepath);
|
$message = addHostname($message, $basepath);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $message;
|
return $message;
|
||||||
|
@ -374,7 +374,7 @@ function addHostname($body, $basepath) {
|
||||||
foreach ($matches AS $match) {
|
foreach ($matches AS $match) {
|
||||||
$body = preg_replace_callback($match,
|
$body = preg_replace_callback($match,
|
||||||
function ($match) use ($basepath) {
|
function ($match) use ($basepath) {
|
||||||
return AddHostnameSub($match, $basepath);
|
return addHostnameSub($match, $basepath);
|
||||||
}, $body);
|
}, $body);
|
||||||
}
|
}
|
||||||
return $body;
|
return $body;
|
||||||
|
|
Loading…
Reference in a new issue