mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1241 do not use no_photo_yet for normal users
This commit is contained in:
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user