faille cerf delete page

This commit is contained in:
fredtempez 2019-01-03 14:10:36 +01:00
parent 3222aaf7d5
commit 90d31b142b

View File

@ -74,6 +74,7 @@ class page extends common {
* Suppression
*/
public function delete() {
if($this->isPost()) {
// La page n'existe pas
if($this->getData(['page', $this->getUrl(2)]) === null) {
// Valeurs en sortie
@ -109,6 +110,7 @@ class page extends common {
]);
}
}
}
/**
* Édition