1
1
Fork 0

Remove superfluous strlen call in Module\Tos

- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1342617099
This commit is contained in:
Hypolite Petovan 2022-12-08 08:51:49 -05:00
parent 607d26e906
commit 7aa5407bbd

View file

@ -77,7 +77,7 @@ class Tos extends BaseModule
*/
protected function content(array $request = []): string
{
if (strlen($this->config->get('system', 'singleuser'))) {
if ($this->config->get('system', 'singleuser')) {
$this->baseUrl->redirect('profile/' . $this->config->get('system', 'singleuser'));
}