- Patch #112563 by webchick: prevent double-escaping.
parent
fd32b42196
commit
89c8b3feaf
|
@ -589,10 +589,10 @@ function forum_overview() {
|
|||
if ($tree) {
|
||||
foreach ($tree as $term) {
|
||||
if (in_array($term->tid, variable_get('forum_containers', array()))) {
|
||||
$rows[] = array(str_repeat(' -- ', $term->depth) .' '. l(check_plain($term->name), 'forum/'. $term->tid), l(t('edit container'), 'admin/content/forum/edit/container/'. $term->tid));
|
||||
$rows[] = array(str_repeat(' -- ', $term->depth) .' '. l($term->name, 'forum/'. $term->tid), l(t('edit container'), 'admin/content/forum/edit/container/'. $term->tid));
|
||||
}
|
||||
else {
|
||||
$rows[] = array(str_repeat(' -- ', $term->depth) .' '. l(check_plain($term->name), 'forum/'. $term->tid), l(t('edit forum'), 'admin/content/forum/edit/forum/'. $term->tid));
|
||||
$rows[] = array(str_repeat(' -- ', $term->depth) .' '. l($term->name, 'forum/'. $term->tid), l(t('edit forum'), 'admin/content/forum/edit/forum/'. $term->tid));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue