diff --git a/src/elements/db/OrderQuery.php b/src/elements/db/OrderQuery.php index a48d3b2626..0a130007ed 100644 --- a/src/elements/db/OrderQuery.php +++ b/src/elements/db/OrderQuery.php @@ -1599,7 +1599,6 @@ protected function beforePrepare(): bool } if (isset($this->reference) && $this->reference) { - // $this->subQuery->andWhere(['commerce_orders.reference' => $this->reference]); $this->subQuery->andWhere(Db::parseParam('commerce_orders.reference', $this->reference)); }