Skip to content

Commit b3f0436

Browse files
committed
Fix display of type for queue discussions and subscriptions
1 parent 9bf60df commit b3f0436

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controller/manage/queue_discussion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function list_types()
7575
$type = $this->get_type_from_id($id);
7676
$this->template->assign_block_vars('categories', array(
7777
'U_VIEW_CATEGORY' => $this->get_type_url($type),
78-
'CATEGORY_NAME' => $type->lang,
78+
'CATEGORY_NAME' => $type->lang['langs'],
7979
'CATEGORY_CONTRIBS' => $counts[$id],
8080
));
8181
}

controller/ucp/subscriptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ protected function get_queue_tpl_row($row)
560560

561561
return array(
562562
'SUBSCRIPTION_ID' => $queue_id,
563-
'SUBSCRIPTION_TARGET' => $type->lang,
563+
'SUBSCRIPTION_TARGET' => $type->lang['lang'],
564564
'SUBSCRIPTION_TIME' => $this->user->format_date($row['watch_mark_time']),
565565
'SUBSCRIPTION_TITLE' => $this->user->lang['SUBSCRIPTION_QUEUE'],
566566
'SUBSCRIPTION_TYPE' => $row['watch_object_type'],

0 commit comments

Comments
 (0)