Skip to content
Snippets Groups Projects
Commit 684d5462 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FIX #11667 TIME 2:00 fixed sql error thrown when retrieving refused

parent 0a9dad71
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ function Bt_refusedSignedMail($aArgs = [])
$creatorName = $aArgs['noteCreatorName'] . ' : ';
}
$GLOBALS['db']->query(
"INSERT INTO notes (identifier, user_id, creation_date, note_text) VALUES (?, $creatorId, CURRENT_TIMESTAMP, ?)",
"INSERT INTO notes (identifier, user_id, creation_date, note_text) VALUES (?, '".$creatorId."', CURRENT_TIMESTAMP, ?)",
[$aArgs['resIdMaster'], $creatorName . $aArgs['noteContent']]
);
}
......
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