aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--category.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/category.php b/category.php
index 1db16ffa0..127d133bc 100644
--- a/category.php
+++ b/category.php
@@ -378,6 +378,10 @@ elseif ( ( isset( $page['cat'] )
$page['expand'] = implode( ',', $page['tab_expand'] );
}
$url_link.= '&expand='.$page['expand'];
+ // we add the category to explore in the expand list
+ if ( $page['expand'] != '' ) $url_link.= ',';
+ $url_link.= $subcat_id;
+
list( $year,$month,$day ) = explode( '-', $subcat_infos['date_last'] );
$date = mktime( 0, 0, 0, $month, $day, $year );