slide secured

This commit is contained in:
Fred Tempez 2023-08-28 11:02:38 +02:00
parent a2e1f16a86
commit c4a4aeb1f3
1 changed files with 6 additions and 3 deletions

View File

@ -181,7 +181,10 @@ class slider extends common
self::$pageList = array_merge([0 => ''], self::$pageList);
// Soumission du formulaire
if ($this->isPost()) {
if (
$this->getUser('permission', __CLASS__, __FUNCTION__) === true &&
$this->isPost()
) {
$inputs['legends'] = $this->getInput('legends', null);
$inputs['uri'] = $this->getInput('sliderHref', null);