This commit is contained in:
Frank Schubert
2022-01-20 21:50:16 +01:00
parent c01a251c67
commit 18fba299a4

View File

@@ -25,7 +25,7 @@ foreach(IvtCustomerModel::getAll() as $cust) {
continue;
}
foreach(['deleted', 'deletet', 'deleded', 'delete'] as $word) {
if(strtolower($cust->company) == $word || strtolower($cust->surname) == $word || strtolower($cust->firstname) == $word) {
if(strtolower(trim($cust->company)) == $word || strtolower(trim($cust->surname)) == $word || strtolower(trim($cust->firstname)) == $word) {
continue 2;
}
}