From 75a097a018a0090f5902758353c578fce4aa2a25 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 23 May 2026 18:43:42 +0000
Subject: [PATCH] =CustomBlocks.php overhaul relatively complete. Also refactored the gallery in gallery.min.js and the jvbRenderGallery.
---
inc/managers/queue/TypeRegistry.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/managers/queue/TypeRegistry.php b/inc/managers/queue/TypeRegistry.php
index 7886fdf..9d5bf7b 100644
--- a/inc/managers/queue/TypeRegistry.php
+++ b/inc/managers/queue/TypeRegistry.php
@@ -22,7 +22,7 @@
public function getExecutor(string $type): ?Executor
{
- return $this->configs[$type]?->executor;
+ return array_key_exists($type, $this->configs) ? $this->configs[$type]->executor : JVB()->queue()->executor;
}
public function getMergeable(string $type): ?Mergeable
--
Gitblit v1.10.0