Просмотр исходного кода

have null array as default for notifications

Henry Oswald 10 лет назад
Родитель
Сommit
8e5907f79e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/app/coffee/Features/Project/ProjectController.coffee

+ 1 - 1
services/web/app/coffee/Features/Project/ProjectController.coffee

@@ -155,7 +155,7 @@ module.exports = ProjectController =
 						priority_title: true
 						projects: projects
 						tags: tags
-						notifications: notifications
+						notifications: notifications or []
 						user: user
 						hasSubscription: results.hasSubscription[0]
 					}