Coding standards
This commit is contained in:
parent
4206c5d363
commit
5ddd2f3ab5
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ class Rules extends BaseApi
|
||||||
|
|
||||||
if (DI::config()->get('system', 'tosdisplay')) {
|
if (DI::config()->get('system', 'tosdisplay')) {
|
||||||
$html = BBCode::convert(DI::config()->get('system', 'tostext'), false, BBCode::EXTERNAL);
|
$html = BBCode::convert(DI::config()->get('system', 'tostext'), false, BBCode::EXTERNAL);
|
||||||
|
|
||||||
$msg = HTML::toPlaintext($html, 0, true);
|
$msg = HTML::toPlaintext($html, 0, true);
|
||||||
foreach (explode("\n", $msg) as $line) {
|
foreach (explode("\n", $msg) as $line) {
|
||||||
$line = trim($line);
|
$line = trim($line);
|
||||||
|
|
Loading…
Reference in a new issue