Closed Knayz closed 1 year ago
is_null returns false in this case. So if statement is always true. is_null returns true only if variable isn't set. Arrays are always not null. Even they are empty. I have some php mistakes then I save customer.
Thnaks for the feedback and PR ;) @Knayz
is_null returns false in this case. So if statement is always true. is_null returns true only if variable isn't set. Arrays are always not null. Even they are empty. I have some php mistakes then I save customer.