Commit f74e1554 authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

fix sprintf for lernsprint confirm

parent 16e614d7
......@@ -533,7 +533,7 @@ function addReservation() {
"web": $("#new_reservation_contact_web").val(),
"subject": subject,
"comment": $("#new_reservation_comment").val(),
"ls_intentions": ls_intentions
"ls_intentions": r[0].room_type !== 1 ? "kein_lernsprint" : ls_intentions
},
(r, e) => {
if (r.result === "success") {
......
......@@ -792,7 +792,7 @@ function confirmReservation($q)
}
if ($rotype == 1) {
$mail_body = sprintf($config["reservation_confirmed_outbound_ls"]["body"], $roln, $fe, $te);
$mail_body = sprintf($config["reservation_confirmed_outbound_ls"]["body"], $fe, $te);
$mail_options = array(
"to" => array(
array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment