Update class-wc-admin-report.php

This commit is contained in:
Adrien Foulon 2019-03-13 11:35:42 +01:00 committed by GitHub
parent ee403d6000
commit 13b5a07383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ class WC_Admin_Report {
self::$cached_results[ $class ][ $query_hash ] = apply_filters( 'woocommerce_reports_get_order_report_data', $wpdb->$query_type( $query ), $data );
}
$result = self::$cached_results[ $query_hash ];
$result = self::$cached_results[ $class ][ $query_hash ];
return $result;
}