@ -24,6 +24,8 @@ function getStatus()
function cleanList()
{
header('Content-type: application/json');
if (!isset($_GET['type']) || empty($_GET['type'])) {
echo json_encode('pas de type, exit');
exit();