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