notice screenshot

This commit is contained in:
Deltacms 2023-01-27 18:26:51 +01:00
parent f58b8ad10c
commit 9c85db602d
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class config extends common {
include('./core/module/config/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_config.php');
$texte='';
if( $_SESSION['screenshot'] === 'on'){
if( isset($_SESSION['screenshot']) && $_SESSION['screenshot'] === 'on'){
$_SESSION['screenshot'] = 'off';
$texte = $text['core_config']['configOpenGraph'][0];
}