From 2509ec2ea8d5db8931064bae7337b53e917c9103 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Thu, 14 Nov 2024 16:46:51 -0800 Subject: [PATCH] CatalogPricing::class => CatalogPricing --- src/elements/CommerceProduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/CommerceProduct.php b/src/elements/CommerceProduct.php index 91186c11..a75422b4 100644 --- a/src/elements/CommerceProduct.php +++ b/src/elements/CommerceProduct.php @@ -138,7 +138,7 @@ public function init(): void // While imports are happening don't process any catalog pricing jobs Event::on(Queue::class, Queue::EVENT_BEFORE_PUSH, function(PushEvent $event) { - if ($event->job instanceof CatalogPricing::class && !$this->_runCatalogPricingJob) { + if ($event->job instanceof CatalogPricing && !$this->_runCatalogPricingJob) { $event->handled = true; } });