Changeset 25844


Ignore:
Timestamp:
12/08/13 14:03:05 (6 years ago)
Author:
mistic100
Message:

don't display "null" when email address is empty on users manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/user_list.tpl

    r25570 r25844  
    171171 
    172172          userDetails += '<div class="userProperty"><strong>{/literal}{'Email address'|translate}{literal}</strong>'; 
    173           userDetails += '<br><input name="email" type="text" value="'+user.email+'"></div>'; 
     173          userDetails += '<br><input name="email" type="text" value="'+ (user.email||'') +'"></div>'; 
    174174 
    175175          userDetails += '<div class="userProperty"><strong>{/literal}{'Status'|translate}{literal}</strong>'; 
Note: See TracChangeset for help on using the changeset viewer.