Pb de profil News

This commit is contained in:
Fred Tempez 2023-11-03 17:59:55 +01:00
parent 26623db2b7
commit fb18127346
4 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
# Version 5.1
- Erreur de profil
# Version 5.0 # Version 5.0
- Gestion des permissions intégrée dans le module - Gestion des permissions intégrée dans le module
# Version 4.5 # Version 4.5

View File

@ -16,7 +16,7 @@
class news extends common class news extends common
{ {
const VERSION = '5.0'; const VERSION = '5.1';
const REALNAME = 'News'; const REALNAME = 'News';
const DATADIRECTORY = self::DATA_DIR . 'news/'; const DATADIRECTORY = self::DATA_DIR . 'news/';

View File

@ -5,6 +5,6 @@
'option' => $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN), 'option' => $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN),
'config' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN) || 'config' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) || $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) || $this->getInput('profilAddNewsDelete', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN) $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN)
]; ];

View File

@ -5,6 +5,6 @@
'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN), 'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN),
'config' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN) || 'config' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN) ||
$this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) || $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) ||
$this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) || $this->getInput('profilEditNewsDelete', helper::FILTER_BOOLEAN) ||
$this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN) $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN)
]; ];