mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
fixes #2569 big warning when editing guest user permissions
This commit is contained in:
@@ -67,6 +67,11 @@ elseif (isset($_POST['trueify'])
|
||||
// | template init |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if ($page['user'] == $conf['guest_id'])
|
||||
{
|
||||
$page['warnings'][] = l10n('Users not logged in will have these permissions applied. Grant access to private albums only with great caution.');
|
||||
}
|
||||
|
||||
$template->set_filenames(
|
||||
array(
|
||||
'user_perm' => 'user_perm.tpl',
|
||||
|
||||
Reference in New Issue
Block a user