Skip to content

Commit e103176

Browse files
committed
FIX: actually show the upload avatar modal when allow_uploaded_avatars is true
1 parent 7bb23c8 commit e103176

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/assets/javascripts/discourse/controllers/preferences_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
**/
99
Discourse.PreferencesController = Discourse.ObjectController.extend({
1010
allowAvatarUpload: function() {
11-
return Discourse.SiteSetting.allow_uploaded_avatars;
11+
return Discourse.SiteSettings.allow_uploaded_avatars;
1212
}.property(),
1313

1414
// By default we haven't saved anything

0 commit comments

Comments
 (0)