From 1ce38771f5e71a9ba46d7b9065f95202a56b0a33 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 12 May 2021 15:41:53 +0200 Subject: [PATCH] fixes #1241 do not use no_photo_yet for normal users --- include/no_photo_yet.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/no_photo_yet.inc.php b/include/no_photo_yet.inc.php index 560afc34b..98ce3144b 100644 --- a/include/no_photo_yet.inc.php +++ b/include/no_photo_yet.inc.php @@ -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 ) {