Fix 'Undefined variable' in purge page
This commit is contained in:
parent
551b839292
commit
7c265c57d2
@ -17,6 +17,7 @@
|
|||||||
* Auteurs de Framadate/OpenSondage : Framasoft (https://github.com/framasoft)
|
* Auteurs de Framadate/OpenSondage : Framasoft (https://github.com/framasoft)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
use Framadate\Services\InputService;
|
||||||
use Framadate\Services\LogService;
|
use Framadate\Services\LogService;
|
||||||
use Framadate\Services\PurgeService;
|
use Framadate\Services\PurgeService;
|
||||||
use Framadate\Services\SecurityService;
|
use Framadate\Services\SecurityService;
|
||||||
@ -36,11 +37,12 @@ $message = null;
|
|||||||
$logService = new LogService();
|
$logService = new LogService();
|
||||||
$purgeService = new PurgeService($connect, $logService);
|
$purgeService = new PurgeService($connect, $logService);
|
||||||
$securityService = new SecurityService();
|
$securityService = new SecurityService();
|
||||||
|
$inputService = new InputService();
|
||||||
|
|
||||||
/* POST */
|
/* POST */
|
||||||
/*-----*/
|
/*-----*/
|
||||||
|
|
||||||
$action = $inputService->filterName($_POST['action']);
|
$action = $inputService->filterName(isset($_POST['action']) ? $_POST['action'] : null);
|
||||||
|
|
||||||
/* PAGE */
|
/* PAGE */
|
||||||
/* ---- */
|
/* ---- */
|
||||||
|
Loading…
Reference in New Issue
Block a user