summaryrefslogtreecommitdiffstats
path: root/templates/admin/user/edit.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/user/edit.tmpl')
-rw-r--r--templates/admin/user/edit.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index ef436c718a..6191efcd5e 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -162,7 +162,7 @@
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}/avatar" method="post" enctype="multipart/form-data">
{{.CsrfTokenHtml}}
- {{if not DisableGravatar}}
+ {{if not (DisableGravatar $.Context)}}
<div class="inline field">
<div class="ui radio checkbox">
<input name="source" value="lookup" type="radio" {{if not .User.UseCustomAvatar}}checked{{end}}>