From 9c32b516564a4aae93457b85afb1f5fc2c1d2bb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= <jaime.perez@uninett.no>
Date: Wed, 9 Nov 2016 14:50:48 +0100
Subject: [PATCH] bugfix: Using $t instead of $this in a template context.

---
 modules/core/templates/frontpage_config.tpl.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/templates/frontpage_config.tpl.php b/modules/core/templates/frontpage_config.tpl.php
index 3e04ce392..4bf19eff9 100644
--- a/modules/core/templates/frontpage_config.tpl.php
+++ b/modules/core/templates/frontpage_config.tpl.php
@@ -88,7 +88,7 @@ if ($this->data['isadmin']) {
 	
 	foreach ($this->data['funcmatrix'] AS $func) {
 		echo '<tr class="' . ($func['enabled'] ? 'enabled' : 'disabled') . '"><td>' . ($func['enabled'] ? $icon_enabled : $icon_disabled) . '</td>';
-		echo '<td>' . $this->t($t->data['requiredmap'][$func['required']]) . '</td><td>' . $func['descr'] . '</td></tr>';
+		echo '<td>' . $this->t($this->data['requiredmap'][$func['required']]) . '</td><td>' . $func['descr'] . '</td></tr>';
 	}
 	echo('</table></div>');
 }
-- 
GitLab