diff --git a/client_vendor_templates.php b/client_vendor_templates.php
index f8467b5b..b5678ed0 100644
--- a/client_vendor_templates.php
+++ b/client_vendor_templates.php
@@ -100,6 +100,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$vendor_sla = htmlentities($row['vendor_sla']);
$vendor_code = htmlentities($row['vendor_code']);
$vendor_notes = htmlentities($row['vendor_notes']);
+ $vendor_template = intval($row['vendor_template']);
?>
diff --git a/client_vendors.php b/client_vendors.php
index 8ca53126..b4bf3160 100644
--- a/client_vendors.php
+++ b/client_vendors.php
@@ -114,7 +114,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$vendor_sla = htmlentities($row['vendor_sla']);
$vendor_code = htmlentities($row['vendor_code']);
$vendor_notes = htmlentities($row['vendor_notes']);
- $vendor_template_id = $row['vendor_template_id'];
?>
diff --git a/vendors.php b/vendors.php
index 78ece492..4dead675 100644
--- a/vendors.php
+++ b/vendors.php
@@ -120,7 +120,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$vendor_sla = htmlentities($row['vendor_sla']);
$vendor_code = htmlentities($row['vendor_code']);
$vendor_notes = htmlentities($row['vendor_notes']);
- $vendor_template_id = $row['vendor_template_id'];
?>