From c9a10865505e26ef87e198a4cba6baa061604c51 Mon Sep 17 00:00:00 2001
From: l26yan <l26yan@uwaterloo.ca>
Date: Tue, 29 May 2018 13:37:45 -0400
Subject: [PATCH] ISTWCMS-2448 Correct link_description.

---
 uw_fdsu_theme_resp.theme | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme
index 58e217da..11840908 100644
--- a/uw_fdsu_theme_resp.theme
+++ b/uw_fdsu_theme_resp.theme
@@ -133,7 +133,7 @@ function uw_fdsu_theme_resp_preprocess_paragraph(&$variables) {
 
         // Get link description and add to the variable array.
         $link_description = $p->field_uw_link_description->first()->getValue();
-        $options2[$i]['link_description'] = $link_description['value'];
+        $options[$i]['link_description'] = $link_description['value'];
 
         // Get colouring value and add to the variable array.
         $link_colouring = $p->field_uw_option_colouring->first()->getValue();
-- 
GitLab