Invalid Get var in API redirect back to login Instead of showing error

This commit is contained in:
johnny@pittpc.com
2019-07-20 16:20:19 -04:00
parent bdcb8e3bb7
commit 8ca2b833e6
6 changed files with 7 additions and 6 deletions

View File

@@ -1399,7 +1399,7 @@ if(isset($_GET['email_quote'])){
$client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4);
}
$client_website = $row['client_website'];
$base_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['REQUEST_URI']);
$base_url = $_SERVER['HTTP_HOST'];
$mail = new PHPMailer(true);