fix not displayed "allow non-admins to create further identities"

This commit is contained in:
Ralf Becker 2016-04-26 14:12:41 +00:00
parent eb8d0216e4
commit b9bfdb06c8

View File

@ -1016,7 +1016,7 @@ app.classes.admin = AppJS.extend(
{ {
jQuery('.emailadmin_no_single').hide(); jQuery('.emailadmin_no_single').hide();
} }
if (!this.egw.user('apps').emailadmin) if (!this.egw.user('apps').admin)
{ {
jQuery('.emailadmin_no_user,#button\\[multiple\\]').hide(); jQuery('.emailadmin_no_user,#button\\[multiple\\]').hide();
} }