Browse Source

Get subscription status correctly for showing upgrade/bonus link

James Allen 12 years ago
parent
commit
ca664e0063
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/web/app/coffee/Features/Project/ProjectController.coffee

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

@@ -147,7 +147,7 @@ module.exports = ProjectController =
 						projects: projects
 						tags: tags
 						user: user
-						hasSubscription: results.hasSubscription
+						hasSubscription: results.hasSubscription[0]
 					}
 
 					if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?