From 976677ea31f1addd050e26826ffebc1abd7d7080 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 8 Dec 2016 11:46:40 +0000 Subject: [PATCH] #1014 --- framework/application/controllers/AjaxController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/application/controllers/AjaxController.php b/framework/application/controllers/AjaxController.php index 368beb5..97f874f 100644 --- a/framework/application/controllers/AjaxController.php +++ b/framework/application/controllers/AjaxController.php @@ -14,7 +14,7 @@ class AjaxController extends CubeIT_Controller_AjaxController { } if ($form->isValid($_POST)) { - $url = 'https://workshop.fluidbook.com/ajax/demandeDevis?devis_form=' . base64_encode(serialize($_POST)); + $url = 'https://workshop.fluidbook.com/ajax/demandeDevis?devis_form=' . base64_encode(json_encode($_POST)); $xml = simplexml_load_file($url); $okmessage = array_pop($xml->xpath('//alert')); -- 2.39.5