Fixed send invoice/quote email redirects so they go back to the page you were last on

This commit is contained in:
johnnyq 2022-05-17 13:50:54 -04:00
parent df1cada53c
commit 856a600993
1 changed files with 2 additions and 2 deletions

View File

@ -3378,7 +3378,7 @@ if(isset($_GET['email_quote'])){
$_SESSION['alert_message'] = "Quote has been sent";
header("Location: quotes.php");
header("Location: " . $_SERVER["HTTP_REFERER"]);
} catch (Exception $e) {
@ -4076,7 +4076,7 @@ if(isset($_GET['email_invoice'])){
$_SESSION['alert_message'] = "Invoice has been sent";
header("Location: invoices.php");
header("Location: " . $_SERVER["HTTP_REFERER"]);
} catch (Exception $e) {