From 9e071b6ee50dc7ab981249bbf2c46382ca986701 Mon Sep 17 00:00:00 2001 From: sun Date: Tue, 14 Aug 2012 19:51:14 +0200 Subject: [PATCH] Fixed theme_task_list() does not use installer-compatible get_t(). --- core/includes/theme.maintenance.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/includes/theme.maintenance.inc b/core/includes/theme.maintenance.inc index 52b6c40..12de2a7 100644 --- a/core/includes/theme.maintenance.inc +++ b/core/includes/theme.maintenance.inc @@ -106,6 +106,7 @@ function _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine * @ingroup themeable */ function theme_task_list($variables) { + $t = get_t(); $items = $variables['items']; $active = $variables['active']; @@ -116,7 +117,7 @@ function theme_task_list($variables) { foreach ($items as $k => $item) { if ($active == $k) { $class = 'active'; - $status = '(' . t('active') . ')'; + $status = '(' . $t('active') . ')'; $done = FALSE; } else { -- 1.7.11.msysgit.1