Skip to content

Commit ca97bb4

Browse files
committed
Fix support topic lists
1 parent 6f497b6 commit ca97bb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controller/support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function display_topics($type)
106106
$this->template->assign_block_vars('support_types', array(
107107
'U_SUPPORT' => $this->helper->route('phpbb.titania.support', array('type' => $class->url)),
108108

109-
'TYPE_SUPPORT' => $class->langs,
109+
'TYPE_SUPPORT' => $class->lang['langs'],
110110
));
111111
}
112112

includes/overlords/topics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public static function display_forums($type, $object = false, $sort = false, $op
459459
phpbb::$template->assign_block_vars('topics', array_merge($topic->assign_details(), array(
460460
'S_TOPIC_TYPE_SWITCH' => ($switch_on_sticky && $last_was_sticky && !$topic->topic_sticky) ? true : false,
461461

462-
'CONTRIB_TYPE' => (isset($row['contrib_type']) && $row['contrib_type']) ? $types->get($row['contrib_type'])->lang : '',
462+
'CONTRIB_TYPE' => (isset($row['contrib_type']) && $row['contrib_type']) ? $types->get($row['contrib_type'])->lang['langs'] : '',
463463
'TOPIC_CONTRIB_NAME' => (isset($row['contrib_name']) && $row['contrib_name']) ? censor_text($row['contrib_name']) : '',
464464

465465
'U_VIEW_TOPIC_CONTRIB' => (isset($row['contrib_type']) && $row['contrib_type']) ? $contrib->get_url() : '',

0 commit comments

Comments
 (0)