Skip to content

Commit

Permalink
FIX: moderators need to choose a category when uncategorized topics a…
Browse files Browse the repository at this point in the history
…re no allowed
  • Loading branch information
nlalonde committed Oct 20, 2015
1 parent 3ee1dee commit 976692b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/discourse/models/composer.js.es6
Expand Up @@ -201,7 +201,7 @@ const Composer = RestModel.extend({
return this.get('canCategorize') &&
!this.siteSettings.allow_uncategorized_topics &&
!this.get('categoryId') &&
!this.user.get('staff');
!this.user.get('admin');
}
}.property('loading', 'canEditTitle', 'titleLength', 'targetUsernames', 'replyLength', 'categoryId', 'missingReplyCharacters'),

Expand Down

0 comments on commit 976692b

Please sign in to comment.