diff options
author | mistic100 <mistic@piwigo.org> | 2013-12-08 13:03:05 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-12-08 13:03:05 +0000 |
commit | 15c2dda9345c62a1028d13cc6fc6b4a5bc05d7cc (patch) | |
tree | 2bb21f5168a90f83da28e594c9ad380559cf4d74 | |
parent | d9b083c8da590d2a7aa58b0534850392a888b098 (diff) |
don't display "null" when email address is empty on users manager
git-svn-id: http://piwigo.org/svn/trunk@25844 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin/themes/default/template/user_list.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl index dc4155034..42cd8c36f 100644 --- a/admin/themes/default/template/user_list.tpl +++ b/admin/themes/default/template/user_list.tpl @@ -170,7 +170,7 @@ jQuery(document).ready(function() { userDetails += '<div class="userPropertiesSetTitle">{/literal}{'Properties'|translate}{literal}</div>'; userDetails += '<div class="userProperty"><strong>{/literal}{'Email address'|translate}{literal}</strong>'; - userDetails += '<br><input name="email" type="text" value="'+user.email+'"></div>'; + userDetails += '<br><input name="email" type="text" value="'+ (user.email||'') +'"></div>'; userDetails += '<div class="userProperty"><strong>{/literal}{'Status'|translate}{literal}</strong>'; userDetails += '<br><select name="status">'; |