if ($this->config->get('system', 'tosdisplay')) {
$lines = trim($this->config->get('system', 'tosrules') ?: '');
if ($lines) {
if ($this->config->get('system', 'tosdisplay')) {
$lines = trim($this->config->get('system', 'tosrules') ?: '');
if ($lines) {