From 766e19e1095ccf6eb39823868df0e5f23c4df173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Mon, 1 May 2023 21:46:12 +0200 Subject: [PATCH] Fix `Taxes\Stats\Controller::get_collection_params` remove lefover `$params` overwrite, let it use parent's one. --- .../woocommerce/src/Admin/API/Reports/Taxes/Stats/Controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/woocommerce/src/Admin/API/Reports/Taxes/Stats/Controller.php b/plugins/woocommerce/src/Admin/API/Reports/Taxes/Stats/Controller.php index 5a2a44b1191..1ae6cdfc2d6 100644 --- a/plugins/woocommerce/src/Admin/API/Reports/Taxes/Stats/Controller.php +++ b/plugins/woocommerce/src/Admin/API/Reports/Taxes/Stats/Controller.php @@ -284,7 +284,6 @@ class Controller extends AbstractController { */ public function get_collection_params() { $params = parent::get_collection_params(); - $params = array(); $params['orderby']['enum'] = array( 'date', 'items_sold',