Suppression non autorisée d'une galerie

This commit is contained in:
fredtempez 2019-02-02 12:19:41 +01:00
parent 83ef586a09
commit 5de140b0e4
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class gallery extends common {
]);
}
// Jeton incorrect
elseif ($_GET['csrf'] !== $_SESSION['csrf']) {
if ($this->getUrl(3) !== $_SESSION['csrf']) {
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config',