Ignore:
Timestamp:
Dec 8, 2013, 2:03:05 PM (11 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.