We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a2df4 commit 3d754f0Copy full SHA for 3d754f0
admin/includes/WC_Integration_TReport.php
@@ -34,7 +34,7 @@ public function init_form_fields() {
34
$product_tags[ $taxonomy->query_var ] = $taxonomy->label;
35
}
36
$taxonomies = get_option( 'woocommerce_taxonomy-report_settings', null );
37
- if ( isset( $taxonomies [ 'chosen' ] ) ) {
+ if ( isset( $taxonomies [ 'chosen' ] ) && is_array($taxonomies [ 'chosen' ]) ) {
38
$taxonomies = $taxonomies [ 'chosen' ];
39
foreach ( $taxonomies as $taxonomy ) {
40
$product_tags[ $taxonomy ] = ucfirst( $taxonomy );
0 commit comments