X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c6c257380f1ff975db6a54e96f3ab2a34aa166c2..426f7aee276f1eba4d4f118edec96d0731c55eb9:/src/redakcja/templates/registration/head_login.html?ds=sidebyside

diff --git a/src/redakcja/templates/registration/head_login.html b/src/redakcja/templates/registration/head_login.html
index 4af3db92..ccbfd85e 100644
--- a/src/redakcja/templates/registration/head_login.html
+++ b/src/redakcja/templates/registration/head_login.html
@@ -4,7 +4,7 @@
 {% if user.is_authenticated %}
   <div class="nav-item dropdown">
     <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{ user.username }}">
-      <img src="{% gravatar_url item.get_email 26 %}" alt="{{ user.username }}">
+      <img src="{% gravatar_url user.email 26 %}" alt="{{ user.username }}">
     </a>
     <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
       <h6 class="dropdown-header">{{ user.username }}</h6>