mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Remove mysqli connection vars when passing mail data to addToMailQueue Function
This commit is contained in:
@@ -58,7 +58,7 @@ if (isset($_GET['accept_quote'], $_GET['url_key'])) {
|
||||
'body' => $body,
|
||||
];
|
||||
|
||||
$mail = addToMailQueue($mysqli, $data);
|
||||
$mail = addToMailQueue($data);
|
||||
}
|
||||
|
||||
$_SESSION['alert_message'] = "Quote Accepted";
|
||||
@@ -119,7 +119,7 @@ if (isset($_GET['decline_quote'], $_GET['url_key'])) {
|
||||
'body' => $body,
|
||||
];
|
||||
|
||||
$mail = addToMailQueue($mysqli, $data);
|
||||
$mail = addToMailQueue($data);
|
||||
}
|
||||
|
||||
$_SESSION['alert_type'] = "danger";
|
||||
|
||||
Reference in New Issue
Block a user