diff --git a/src/app/contact/controllers/ContactController.php b/src/app/contact/controllers/ContactController.php index 1efd9a200c6eaac4d6930bee04336d274a4a16d0..d24ab3dae588654f19c31638ccacdf38e9b0a2a5 100755 --- a/src/app/contact/controllers/ContactController.php +++ b/src/app/contact/controllers/ContactController.php @@ -1207,6 +1207,8 @@ class ContactController return $response->withStatus(403)->withJson(['errors' => 'Service forbidden']); } + ini_set('memory_limit', -1); + $body = $request->getParsedBody(); if (!Validator::arrayType()->validate($body['contacts'])) { return $response->withStatus(400)->withJson(['errors' => 'Body contacts is empty or not an array']);