I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Support #1862

Publish bug fix

Added by Andriy Lesyuk almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Major
Assignee:
Category:
-
Start date:
26 Sep 2011
Due date:
% Done:

0%


Description

Some time ago I have found a bug in the version of Redmine I’m using and fixed it. Now I just thought it would be “nice” to share:

--- /usr/share/redmine/app/views/users/show.rhtml       2010-08-19 04:32:06.000000000 +0000
+++ app/views/users/show.rhtml  2011-06-04 12:11:28.000000000 +0000
@@ -7,7 +7,7 @@
 <div class="splitcontentleft">
 <ul>
        <% unless @user.pref.hide_mail %>
-               <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li>
+               <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), @user.mail, :encode => 'javascript') %></li>
        <% end %>
        <% for custom_value in @custom_values %>
        <% if !custom_value.value.blank? %>

History

#1 Updated by Andriy Lesyuk over 12 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF

Terms of use | Privacy policy