diff options
Diffstat (limited to 'include/category_cats.inc.php')
-rw-r--r-- | include/category_cats.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php index 3ef955b4c..82d1eb11d 100644 --- a/include/category_cats.inc.php +++ b/include/category_cats.inc.php @@ -223,13 +223,13 @@ if (count($categories) > 0) '<br />' ), 'DESCRIPTION' => - trigger_event('render_category_literal_description', - trigger_event('render_category_description', + trigger_event('render_category_literal_description', + trigger_event('render_category_description', @$category['comment'])), 'NAME' => $name, ) ); - + //plugins need to add/modify sth in this loop ? trigger_action('loc_index_category_thumbnail', $category, 'categories.category' ); @@ -314,8 +314,8 @@ if (count($categories) > 0) } $template->assign_var_from_handle('CATEGORIES', 'thumbnails'); - unset( $template->_tpldata['thumbnails.'] );//maybe write a func for that + $template->delete_block_vars('thumbnails', true); // category_default reuse them } trigger_action('loc_end_index_category_thumbnails', $categories); } -?> +?>
\ No newline at end of file |