diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-03 12:08:10 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-03 12:08:10 +0000 |
| commit | 46d7f6b5a0ee5276d7fd64b5463da977c321d307 (patch) | |
| tree | a281468952f6dd846f83e8d46c553cdd4a30b7cc /app/controllers/profile.php | |
| parent | d4bdf98b3e49d79d568051968054ef155635c0bf (diff) | |
fixes #4252
Closes #4252
Merge request studip/studip!3083
Diffstat (limited to 'app/controllers/profile.php')
| -rw-r--r-- | app/controllers/profile.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/profile.php b/app/controllers/profile.php index 7738bb3..72a500e 100644 --- a/app/controllers/profile.php +++ b/app/controllers/profile.php @@ -659,12 +659,8 @@ class ProfileController extends AuthenticatedController /** * Returns the visibility value - * - * @param string $param - * @param string $visibility - * @return string|bool */ - private function getVisibilityValue(string $param, string $visibility = ''): string|bool + private function getVisibilityValue(string $param, string $visibility = ''): mixed { if (Visibility::verify($visibility ?: $param, $this->current_user->user_id)) { return $this->current_user->$param; |
