From b10b9e09e753e70769a8b1c4b362b92d44a15c37 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 26 Jul 2021 09:01:42 +0000 Subject: [PATCH] wip #4619 @0.5 --- inc/ws/Controlleur/class.ws.services.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index 7af18246a..32eeb29a3 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -1376,8 +1376,18 @@ class wsServices extends cubeFlashGateway exit; } - public static function yslSurvey(){ - + public static function yslSurvey() + { + global $core; + $c = $core->con->openCursor('ysl_survey'); + $c->fluidbook_id = $_POST['fluidbook_id']; + $c->date = time(); + $c->page = $_POST['page']; + $c->rating = $_POST['rating']; + $c->suggestions = $_POST['suggestions']; + $c->country = $_POST['country']; + $c->function = $_POST['function']; + $c->insert(); } public static function searchGFXDevice($gpu, $raw, $gfxVersion = 40) -- 2.39.5