diff --git a/module/news/changes.md b/module/news/changes.md index 2125acbc..6971a4d7 100644 --- a/module/news/changes.md +++ b/module/news/changes.md @@ -1,3 +1,5 @@ +# Version 5.1 +- Erreur de profil # Version 5.0 - Gestion des permissions intégrée dans le module # Version 4.5 diff --git a/module/news/news.php b/module/news/news.php index 90bfefd6..0aeb76c7 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -16,7 +16,7 @@ class news extends common { - const VERSION = '5.0'; + const VERSION = '5.1'; const REALNAME = 'News'; const DATADIRECTORY = self::DATA_DIR . 'news/'; diff --git a/module/news/profil/main/add.inc.php b/module/news/profil/main/add.inc.php index de70afbc..a431d523 100644 --- a/module/news/profil/main/add.inc.php +++ b/module/news/profil/main/add.inc.php @@ -5,6 +5,6 @@ 'option' => $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN), 'config' => $this->getInput('profilAddNewsAdd', 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) ]; \ No newline at end of file diff --git a/module/news/profil/main/edit.inc.php b/module/news/profil/main/edit.inc.php index 1b8f76d0..94d6957c 100644 --- a/module/news/profil/main/edit.inc.php +++ b/module/news/profil/main/edit.inc.php @@ -5,6 +5,6 @@ 'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN), 'config' => $this->getInput('profilEditNewsAdd', 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) ]; \ No newline at end of file