Fix one name_changes_disabled check

(imported from commit f1bf125949bd282c8a9054d3e3b2e92c7bd5ab4e)
This commit is contained in:
Zev Benjamin 2014-04-06 17:00:28 -07:00
parent 2f7af69091
commit 5b080bd0cf
1 changed files with 1 additions and 1 deletions

View File

@ -1466,7 +1466,7 @@ def json_change_settings(request, user_profile,
result = {}
if user_profile.full_name != full_name and full_name.strip() != "":
if name_changes_disabled(user_profile.realm.domain):
if name_changes_disabled(user_profile.realm):
# Failingly silently is fine -- they can't do it through the UI, so
# they'd have to be trying to break the rules.
pass