Commit 2a72ca14 authored by webchick's avatar webchick
Browse files

Issue #1730760 by sun: Fixed theme_task_list() does not use installer-compatible get_t().

parent fb88e8d1
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment