mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Fixes issue 723 now when requesting an private id, permalink isn't re… (#771)
* Fixes issue 723 now when requesting an private id, permalink isn't revealed * remove newline at end of files and one useless line * remove newline at end of files and one useless line * Fixes if condition
This commit is contained in:
committed by
Pierrick Le Gall
parent
943ab9d189
commit
c4af38fe48
@@ -625,6 +625,7 @@ if ( 'categories'==$page['section'] and isset($page['category']) )
|
||||
|
||||
if ($need_redirect)
|
||||
{
|
||||
check_restrictions($page['category']['id']);
|
||||
$redirect_url = script_basename()=='picture' ? duplicate_picture_url() : duplicate_index_url();
|
||||
|
||||
if (!headers_sent())
|
||||
|
||||
Reference in New Issue
Block a user