aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/profile.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2022-07-04 10:14:49 +0000
committerMoritz Strohm <strohm@data-quest.de>2022-07-04 10:14:49 +0000
commit0b867f0e61bfdcacd3339bcfadaf585f7bbba716 (patch)
treef5d081243c5a44b9c170124ceab3c76df032bf99 /app/controllers/profile.php
parent5e8d267f10b5ae3b2a2d9bd82eb6ed44885950bd (diff)
fix for BIESt #1078
Merge request studip/studip!657
Diffstat (limited to 'app/controllers/profile.php')
-rw-r--r--app/controllers/profile.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/profile.php b/app/controllers/profile.php
index c5a136f..21de27e 100644
--- a/app/controllers/profile.php
+++ b/app/controllers/profile.php
@@ -91,6 +91,7 @@ class ProfileController extends AuthenticatedController
$this->homepage = $this->profile->getVisibilityValue('Home', 'homepage');
// skype informations
+ $this->skype_name = '';
if (Config::get()->ENABLE_SKYPE_INFO && Visibility::verify('skype_name', $this->current_user->user_id)) {
$this->skype_name = UserConfig::get($this->current_user->user_id)->SKYPE_NAME;
}
@@ -121,6 +122,7 @@ class ProfileController extends AuthenticatedController
}
// calendar
+ $this->dates = '';
if (Config::get()->CALENDAR_ENABLE) {
if (!in_array($this->current_user->perms, ['admin', 'root'])) {
if (Visibility::verify('termine', $this->current_user->user_id)) {