From 9c85db602d26263d9ce29028bbe9cf4e89755149 Mon Sep 17 00:00:00 2001 From: Deltacms Date: Fri, 27 Jan 2023 18:26:51 +0100 Subject: [PATCH] notice screenshot --- core/module/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/config/config.php b/core/module/config/config.php index ce018ff..f1bb6ed 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -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]; }