same
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user