From d884b22b69486ff2857c9278aa2b065a9867dc7f Mon Sep 17 00:00:00 2001 From: pero1203 Date: Mon, 20 Jun 2022 12:04:51 +0200 Subject: [PATCH] AAI - popravki gdpr obvestila po poslanem obrazcu --- admin/survey/classes/class.GDPR.php | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/admin/survey/classes/class.GDPR.php b/admin/survey/classes/class.GDPR.php index c18bcc926..4e54bf71b 100644 --- a/admin/survey/classes/class.GDPR.php +++ b/admin/survey/classes/class.GDPR.php @@ -1811,20 +1811,17 @@ class GDPR{ } $resultX = $MA->sendMail($content, $subject); - } - catch (Exception $e){ - } + } + catch (Exception $e){ + } // Vrnemo vse ok - if($jezik == '2'){ - $success_text = 'Your request for the deletion, change or insight into your personal information for a particular survey is submitted to - the author of the survey. The author of the survey must, within a month since you submitted the request, execute your - request and inform you about it. If the author fails to do so within 30 days, we will delete the survey, including your information.'; - }else { - $success_text = 'Prošnja za izbris, spremembo ali vpogled do vaših osebnih podatkov iz določene ankete je posredovana avtorju ankete. - Avtor ankete mora v roku meseca dni od oddane zahteve urediti vašo zahtevo in vas o tem obvestiti. - Če v roku 30 dni avtor tega ne izvede, bomo anketo izbrisali, vključno z vašimi podatki.'; - } + if($jezik == '2'){ + $success_text = 'Your request for the deletion, change or insight into your personal information for a particular survey is submitted to the author of the survey.
The author of the survey must, within a month since you submitted the request, execute your request and inform you about it.
If the author fails to do so within 30 days, we will delete the survey, including your information.'; + } + else { + $success_text = 'Prošnja za izbris, spremembo ali vpogled do vaših osebnih podatkov iz določene ankete je posredovana avtorju ankete.
Avtor ankete mora v roku meseca dni od oddane zahteve urediti vašo zahtevo in vas o tem obvestiti.
Če v roku 30 dni avtor tega ne izvede, bomo anketo izbrisali, vključno z vašimi podatki.'; + } $response = json_encode(array('success' => $success_text), true); }