Skip to content

Commit

Permalink
Update settingscontroller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian1998 authored and DeepDiver1975 committed Feb 28, 2018
1 parent c405d61 commit 9b9d697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/app/controllers/settingscontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.controller('SettingsController', ['$scope', '$uibModal', '$timeout', 'Settin
'use strict';

$scope.settingsCalDavLink = OC.linkToRemote('dav') + '/';
$scope.settingsCalDavPrincipalLink = OC.linkToRemote('dav') + '/principals/users/' + escapeHTML(encodeURIComponent(OC.getCurrentUser())) + '/';
$scope.settingsCalDavPrincipalLink = OC.linkToRemote('dav') + '/principals/users/' + escapeHTML(encodeURIComponent(OC.getCurrentUser().uid)) + '/';
$scope.skipPopover = settings.skipPopover ? 'yes' : 'no';
$scope.settingsShowWeekNr = settings.showWeekNr ? 'yes' : 'no';

Expand Down

0 comments on commit 9b9d697

Please sign in to comment.