mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Fix Invoice Vars in ticket, return empty string instead of null for getFieldByID()
This commit is contained in:
10
ticket.php
10
ticket.php
@@ -161,6 +161,11 @@ if (isset($_GET['ticket_id'])) {
|
||||
$location_zip = nullable_htmlentities($row['location_zip']);
|
||||
$location_phone = formatPhoneNumber($row['location_phone']);
|
||||
|
||||
$invoice_id = intval($row['ticket_invoice_id']);
|
||||
$invoice_prefix = nullable_htmlentities($row['invoice_prefix']);
|
||||
$invoice_number = intval($row['invoice_number']);
|
||||
$invoice_created_at = nullable_htmlentities($row['invoice_created_at']);
|
||||
|
||||
$project_id = intval($row['project_id']);
|
||||
$project_prefix = nullable_htmlentities($row['project_prefix']);
|
||||
$project_number = intval($row['project_number']);
|
||||
@@ -175,10 +180,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
$project_manager_name = nullable_htmlentities($row['user_name']);
|
||||
}
|
||||
|
||||
$invoice_id = intval($row['ticket_invoice_id']);
|
||||
$invoice_prefix = nullable_htmlentities($row['invoice_prefix']);
|
||||
$invoice_number = intval($row['invoice_number']);
|
||||
$invoice_created_at = nullable_htmlentities($row['invoice_created_at']);
|
||||
|
||||
|
||||
if ($contact_id) {
|
||||
//Get Contact Ticket Stats
|
||||
|
||||
Reference in New Issue
Block a user