From: Hypolite Petovan Date: Thu, 8 Dec 2022 13:51:49 +0000 (-0500) Subject: Remove superfluous strlen call in Module\Tos X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7aa5407bbdc86a375d9c14f1ea7d3d82e9f8ea07;p=friendica.git Remove superfluous strlen call in Module\Tos - Address https://github.com/friendica/friendica/issues/12011#issuecomment-1342617099 --- diff --git a/src/Module/Tos.php b/src/Module/Tos.php index 822aa8813b..11cecac44d 100644 --- a/src/Module/Tos.php +++ b/src/Module/Tos.php @@ -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')); }