aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php2
1 files changed, 1 insertions, 1 deletions
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;
}