mirror of
https://github.com/itflow-org/itflow
synced 2026-08-23 07:55:12 +00:00
Replace Function shortenClient() with shortenClientName()
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
Reference in New Issue
Block a user