Replacing numberic values with constants for the BBCode conversion

This commit is contained in:
Michael 2020-05-16 16:48:08 +00:00
parent 59cfb05c3a
commit b406d737b5
5 changed files with 12 additions and 12 deletions

View file

@ -214,7 +214,7 @@ function windowsphonepush_cron()
if (substr($body, 0, 4) == "[url") {
$body = "URL/Image ...";
} else {
$body = BBCode::convert($body, false, 2, true);
$body = BBCode::convert($body, false, BBCode::API, true);
$body = HTML::toPlaintext($body, 0);
$body = ((strlen($body) > 137) ? substr($body, 0, 137) . "..." : $body);
}