Update all email content links to use the /guest directory now for ticket viewing, invoice, quote and item

This commit is contained in:
johnnyq
2025-01-11 16:07:48 -05:00
parent d29aa55411
commit cc0b456312
7 changed files with 23 additions and 23 deletions

View File

@@ -306,10 +306,10 @@ if (isset($_GET['share_generate_link'])) {
// Return URL
if ($item_type == "Login") {
$url = "https://$config_base_url/guest_view_item.php?id=$share_id&key=$item_key&ek=$login_encryption_key";
$url = "https://$config_base_url/guest/guest_view_item.php?id=$share_id&key=$item_key&ek=$login_encryption_key";
}
else {
$url = "https://$config_base_url/guest_view_item.php?id=$share_id&key=$item_key";
$url = "https://$config_base_url/guest/guest_view_item.php?id=$share_id&key=$item_key";
}
$sql = mysqli_query($mysqli,"SELECT * FROM companies WHERE company_id = 1");