mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-25 19:00:03 +03:00
fixes #1241 do not use no_photo_yet for normal users
This commit is contained in:
parent
b6a6227210
commit
1ce38771f5
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ if (
|
|||
and script_basename() != 'password' // keep the ability to reset password
|
||||
and script_basename() != 'ws' // keep the ability to discuss with web API
|
||||
and script_basename() != 'popuphelp' // keep the ability to display help popups
|
||||
and (is_a_guest() or is_admin()) // normal users are not concerned by no_photo_yet
|
||||
and !isset($_SESSION['no_photo_yet']) // temporary hide
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue