From e54bca5449c2e86ed05e59b04c827b0abaab33f6 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 2 May 2007 23:07:14 +0000 Subject: correct bug on one of my previous commits (flat for picture page) git-svn-id: http://piwigo.org/svn/trunk@1996 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/section_init.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/section_init.inc.php') diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 84e7a83b5..918d394fd 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -162,7 +162,7 @@ $page = array_merge( $page, parse_well_known_params_url( $tokens, $next_token) ) if ( script_basename()=='picture' and 'categories'==$page['section'] and - !isset($page['chronology_field']) ) + !isset($page['category']) and !isset($page['chronology_field']) ) { //access a picture only by id, file or id-file without given section $page['flat']=true; } -- cgit v1.2.3