diff --git a/js/controller/BoardController.js b/js/controller/BoardController.js index 062c05ca1..01990f108 100644 --- a/js/controller/BoardController.js +++ b/js/controller/BoardController.js @@ -215,6 +215,9 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St }; $scope.aclTypeString = function (acl) { + if (typeof acl === 'undefined') { + return ''; + } switch (acl.type) { case OC.Share.SHARE_TYPE_USER: return 'user';