From 01e9a8e40351a87f6548a4f55de842d6f6918ad0 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 15 Sep 2026 02:44:28 +0000
Subject: [PATCH] =Found little glitch with auto-adding rewrite rules to taxonomy Registrar instances where we have the post type as the base in the url rewrite

---
 checks.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/checks.php b/checks.php
index 5fd3fe9..b03578a 100644
--- a/checks.php
+++ b/checks.php
@@ -1,6 +1,6 @@
 <?php
 
-use JVBase\base\options;
+use JVBase\base\Options;
 use JVBase\base\Site;
 use JVBase\managers\Cache;
 use JVBase\registrar\Registrar;
@@ -25,10 +25,10 @@
 	if (!Site::has('limit_hours')) {
 		return true;
 	}
-	if ( options::get('open_to_public') !== '1') {
+	if ( Options::get('open_to_public') !== '1') {
 		return false;
 	}
-	if (!empty(options::get('today_hours'))) {
+	if (!empty(Options::get('today_hours'))) {
 		return jvbIsTimeBetween();
 	}
 	return jvbIsCurrentlyOpen();

--
Gitblit v1.10.0