Kolektor - dokoncano posiljanje opomnikov respondentom

This commit is contained in:
pero1203 2022-08-11 10:10:12 +02:00
parent d3eccbaed9
commit 884a9272a5
2 changed files with 4 additions and 1 deletions

View File

@ -72,6 +72,9 @@ class KolektorNotifications {
// Zamenjamo line breake in #URL#
//$body = nl2br(stripslashes($body));
$body = str_replace('\r\n', '<br>', $body);
$body = str_replace('\n', '<br>', $body);
$body = stripslashes($body);
$body = str_replace('#URL#', '<a href="'.$url.'">Kolektor anketa</a>', $body);

View File

@ -136,7 +136,7 @@ class KolektorResponse {
// Poslji email z vabilom na anketo
$kn = new KolektorNotifications($respondent_id);
$kn->sendRespondentNotification();
$kn->sendRespondentNotification($response_data['respondent_message']);
// Uspesno prozenje