Skip to content
Snippets Groups Projects
Commit 46d7f6b5 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4252

Closes #4252

Merge request studip/studip!3083
parent d4bdf98b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment