forked from ZwiiCMS-Team/ZwiiCMS
faille cerf delete page
This commit is contained in:
parent
3222aaf7d5
commit
90d31b142b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user