From 45d248f8f6542a7729b81a712be716078b66e045 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 26 Apr 2014 01:25:15 +0200 Subject: [PATCH] Fixed missing permission check --- wcfsetup/install/files/lib/data/user/UserProfile.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/user/UserProfile.class.php b/wcfsetup/install/files/lib/data/user/UserProfile.class.php index 2637fc2e6f..8cc56ad275 100644 --- a/wcfsetup/install/files/lib/data/user/UserProfile.class.php +++ b/wcfsetup/install/files/lib/data/user/UserProfile.class.php @@ -769,6 +769,7 @@ class UserProfile extends DatabaseObjectDecorator implements IBreadcrumbProvider if (!$value) return ''; $option = ViewableUserOption::getUserOption($name); + if (!$option->isVisible()) return ''; $option->setOptionValue($this->getDecoratedObject()); return $option->optionValue; } -- 2.20.1