diff --git a/scripts/import_customers_from_ivt.php b/scripts/import_customers_from_ivt.php index f80a27b15..412fde4ab 100644 --- a/scripts/import_customers_from_ivt.php +++ b/scripts/import_customers_from_ivt.php @@ -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->firnstmae) == $word) { + if(strtolower($cust->company) == $word || strtolower($cust->surname) == $word || strtolower($cust->firstname) == $word) { continue 2; } }