mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-11 19:05:53 +03:00
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
This commit is contained in:
parent
4e778d238f
commit
e54bca5449
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue