changeset 3740:ea2c948a49b8 beta

fixed issue with h.person() function returned prematurly giving only email info from changeset metadata. Thanks to Stevan Radaković
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 11 Apr 2013 16:55:39 +0200
parents 41b0e2b92283
children 7236ae349494
files rhodecode/lib/helpers.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py	Thu Apr 11 15:07:42 2013 +0200
+++ b/rhodecode/lib/helpers.py	Thu Apr 11 16:55:39 2013 +0200
@@ -448,7 +448,6 @@
         user = User.get_by_email(_email, case_insensitive=True, cache=True)
         if user is not None:
             return person_getter(user)
-        return _email
 
     # Maybe it's a username?
     _author = author_name(author)