Skip to content
Snippets Groups Projects
Commit 6b150420 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

FIX #1298

parent dbccfeef
No related branches found
No related tags found
No related merge requests found
......@@ -104,9 +104,9 @@ function Bt_logInDataBase($totalProcessed=0, $totalErrors=0, $info='')
. $GLOBALS['db']->current_datetime() . ", " . $totalProcessed . ", " . $totalErrors . ", '"
. $GLOBALS['func']->protect_string_db(substr(str_replace('\\', '\\\\', str_replace("'", "`", $info)), 0, 999)) . "')";
//. $GLOBALS['func']->protect_string_db(substr($info, 0, 999)) . "')";
$dbLog = new dbquery();
/*$dbLog = new dbquery();
$dbLog->connect();
$dbLog->query($query);
$dbLog->query($query);*/
//Bt_doQuery($GLOBALS['db'], $query);
}
......
......@@ -80,7 +80,8 @@ while ($state <> 'END') {
$exec_result = 'SENT';
} else {
$GLOBALS['logger']->write("Errors when sending message through SMTP :" . implode(', ', $GLOBALS['mailer']->errors), 'ERROR');
//$GLOBALS['logger']->write("Errors when sending message through SMTP :" . implode(', ', $GLOBALS['mailer']->errors), 'ERROR');
$GLOBALS['logger']->write("Errors when sending message through SMTP :" . $GLOBALS['mailer']->errors);
$exec_result = 'FAILED';
}
$query = "UPDATE " . _NOTIF_EMAIL_STACK_TABLE_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment