Config may not be populated. Need to check config for value before foreach:
Invalid argument supplied for foreach() in token_var_token_info() (line 19 of modules/contrib/token_var/token_var.module)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | invalid_argument_foreach_token_var_token_info_3030673_2.patch | 1.62 KB | brooke_heaton |
Comments
Comment #2
brooke_heaton commentedAdd isset check on $config to prevent invalid argument.
Comment #3
brooke_heaton commentedComment #4
brooke_heaton commentedComment #6
piyuesh23 commented