From 3a6ebed9e5a40f8b739eca480acaab4e20198012 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Thu, 3 Jan 2019 15:33:47 +0100
Subject: [PATCH] fix assignation

---
 templates/web/edugain/select_sp.tt2.html | 2 +-
 templates/web/renater/select_sp.tt2.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/web/edugain/select_sp.tt2.html b/templates/web/edugain/select_sp.tt2.html
index 6d8596d..8cea3b2 100644
--- a/templates/web/edugain/select_sp.tt2.html
+++ b/templates/web/edugain/select_sp.tt2.html
@@ -20,7 +20,7 @@
             <legend>[% lh.maketext("Service providers from my own organization") %]</legend>
             <select id="self" name="self">
                 <option value=""></option>
-        [% organization_url == idp.organization_url() %]
+        [% organization_url = idp.organization_url() %]
         [% FOREACH sp IN sps %]
             [% NEXT UNLESS sp.organization_url() == organization_url %]
                 <option value="[% sp.entityid() %]">[% sp.display_name() %]</option>
diff --git a/templates/web/renater/select_sp.tt2.html b/templates/web/renater/select_sp.tt2.html
index edae930..df2aed8 100644
--- a/templates/web/renater/select_sp.tt2.html
+++ b/templates/web/renater/select_sp.tt2.html
@@ -20,7 +20,7 @@
             <legend>[% lh.maketext("Service providers from my own organization") %]</legend>
             <select id="self" name="self">
                 <option value=""></option>
-        [% organization_url == idp.organization_url() %]
+        [% organization_url = idp.organization_url() %]
         [% FOREACH sp IN sps %]
             [% NEXT UNLESS sp.organization_url() == organization_url %]
                 <option value="[% sp.entityid() %]">[% sp.display_name() %]</option>
-- 
GitLab