sanitize after substr

This commit is contained in:
wrongecho 2025-11-06 16:44:34 +00:00
parent 920d08f039
commit 283c2a17df
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ if (isset($_POST['client_tax_id_number'])) {
}
if (isset($_POST['client_abbreviation'])) {
$abbreviation = substr(sanitizeInput($_POST['client_abbreviation']), 0, 6);
$abbreviation = sanitizeInput(substr($_POST['client_abbreviation'], 0, 6));
} elseif ($client_row) {
$abbreviation = $client_row['client_abbreviation'];
} else {