diff --git a/app/assets/javascripts/discourse/controllers/topic.js.es6 b/app/assets/javascripts/discourse/controllers/topic.js.es6 index a2a8392ba56..80209d7b731 100644 --- a/app/assets/javascripts/discourse/controllers/topic.js.es6 +++ b/app/assets/javascripts/discourse/controllers/topic.js.es6 @@ -272,7 +272,7 @@ export default Ember.Controller.extend(BufferedContent, { const quoteState = this.get('quoteState'); const postStream = this.get('model.postStream'); - if (!postStream) return; + if (!postStream || !topic || !topic.get('details.can_create_post')) { return; } const quotedPost = postStream.findLoadedPost(quoteState.postId); const quotedText = Quote.build(quotedPost, quoteState.buffer);