diff --git a/app/assets/javascripts/discourse/controllers/preferences_controller.js b/app/assets/javascripts/discourse/controllers/preferences_controller.js index 61f94b7eed7..cfe7efeae83 100644 --- a/app/assets/javascripts/discourse/controllers/preferences_controller.js +++ b/app/assets/javascripts/discourse/controllers/preferences_controller.js @@ -8,7 +8,7 @@ **/ Discourse.PreferencesController = Discourse.ObjectController.extend({ allowAvatarUpload: function() { - return Discourse.SiteSetting.allow_uploaded_avatars; + return Discourse.SiteSettings.allow_uploaded_avatars; }.property(), // By default we haven't saved anything