Replace Function shortenClient() with shortenClientName()

This commit is contained in:
johnnyq
2026-07-14 17:46:25 -04:00
parent 9d540f4bfe
commit 8f824a1868
3 changed files with 3 additions and 3 deletions

View File

@@ -367,7 +367,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
// Abbreviation // Abbreviation
if (empty($client_abbreviation)) { if (empty($client_abbreviation)) {
$client_abbreviation = shortenClient($client_name); $client_abbreviation = shortenClientName($client_name);
} }
// Client Tags // Client Tags

View File

@@ -10,7 +10,7 @@ $net_terms = intval($_POST['net_terms'] ?? $config_default_net_terms);
$tax_id_number = cleanInput($_POST['tax_id_number'] ?? ''); $tax_id_number = cleanInput($_POST['tax_id_number'] ?? '');
$abbreviation = cleanInput($_POST['abbreviation'] ?? ''); $abbreviation = cleanInput($_POST['abbreviation'] ?? '');
if (empty($abbreviation)) { if (empty($abbreviation)) {
$abbreviation = shortenClient($name); $abbreviation = shortenClientName($name);
} }
$notes = cleanInput($_POST['notes'] ?? ''); $notes = cleanInput($_POST['notes'] ?? '');
$lead = intval($_POST['lead'] ?? 0); $lead = intval($_POST['lead'] ?? 0);

File diff suppressed because one or more lines are too long