Kolektor - dokoncano posiljanje opomnikov respondentom
This commit is contained in:
parent
d3eccbaed9
commit
884a9272a5
@ -72,6 +72,9 @@ class KolektorNotifications {
|
|||||||
|
|
||||||
// Zamenjamo line breake in #URL#
|
// Zamenjamo line breake in #URL#
|
||||||
//$body = nl2br(stripslashes($body));
|
//$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);
|
$body = str_replace('#URL#', '<a href="'.$url.'">Kolektor anketa</a>', $body);
|
||||||
|
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ class KolektorResponse {
|
|||||||
|
|
||||||
// Poslji email z vabilom na anketo
|
// Poslji email z vabilom na anketo
|
||||||
$kn = new KolektorNotifications($respondent_id);
|
$kn = new KolektorNotifications($respondent_id);
|
||||||
$kn->sendRespondentNotification();
|
$kn->sendRespondentNotification($response_data['respondent_message']);
|
||||||
|
|
||||||
|
|
||||||
// Uspesno prozenje
|
// Uspesno prozenje
|
||||||
|
Loading…
x
Reference in New Issue
Block a user