From 2fde7cd16d56e967ce02c82909a7f7a4a19195d7 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Wed, 11 Sep 2024 11:48:10 +0200
Subject: [PATCH] fix empty affiliations table in personal page

---
 .../scipost/templates/scipost/_private_info_as_table.html       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost_django/scipost/templates/scipost/_private_info_as_table.html b/scipost_django/scipost/templates/scipost/_private_info_as_table.html
index 3686ecbe9..df7f3d9dc 100644
--- a/scipost_django/scipost/templates/scipost/_private_info_as_table.html
+++ b/scipost_django/scipost/templates/scipost/_private_info_as_table.html
@@ -51,7 +51,7 @@
   </tr>
   <tr>
     <td>Affiliation(s):</td>
-    <td>{% include 'profiles/_affiliations_table.html' with contributor=contributor actions=False %}</td>
+    <td>{% include 'profiles/_affiliations_table.html' with profile=contributor.profile actions=False %}</td>
   </tr>
   <tr>
     <td>Address:</td>
-- 
GitLab