When we use thumbnails for exploring sub-categories, the categories in the

left menu open with a difference of 1 page


git-svn-id: http://piwigo.org/svn/trunk@120 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-09-15 21:48:21 +00:00
parent 5257091c37
commit 10a8edbb3d
+4
View File
@@ -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 );