aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-12-08 13:03:05 +0000
committermistic100 <mistic@piwigo.org>2013-12-08 13:03:05 +0000
commit15c2dda9345c62a1028d13cc6fc6b4a5bc05d7cc (patch)
tree2bb21f5168a90f83da28e594c9ad380559cf4d74 /admin
parentd9b083c8da590d2a7aa58b0534850392a888b098 (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
Diffstat (limited to 'admin')
-rw-r--r--admin/themes/default/template/user_list.tpl2
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">';