lukecarbis/woocommerce — comment on commit 43036965a3db02616008471fe88f5ac5ce397e7f
File:  line 0
By lukecarbis:

Maybe it was just something wrong with my 1.4 upgrade - when I checked the
variable it was returning an array with 1 empty index - array ( 0 => ).
Maybe it was an error with my tax rates option. Regardless it was giving a
whole heap of notices about indexes not existing because it passed the if
($tax_rates) check.

On 15 February 2012 10:12, Mike Jolley <
reply@reply.github.com
> wrote:

> Hmm are you sure? I'm pretty sure an empty array will be false if placed
> in an if statement? Will check tomorrow.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/lukecarbis/woocommerce/commit/43036965a3db02616008471fe88f5ac5ce397e7f#commitcomment-967240
>