mirror of https://github.com/itflow-org/itflow
sanitize after substr
This commit is contained in:
parent
920d08f039
commit
283c2a17df
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue