From a239ef33ec489ce6d0f25ac2f256df0ac54a7e50 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 16 Sep 2026 00:07:34 +0000
Subject: [PATCH] =Tackling the integrations again. This time Helcim, with some minnor edits to GMB and Square
---
checks.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks.php b/checks.php
index 242bf4c..b03578a 100644
--- a/checks.php
+++ b/checks.php
@@ -25,7 +25,7 @@
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'))) {
@@ -37,7 +37,7 @@
function jvbTermHasPosts(int $termID, string $taxonomy):bool
{
- $cache = Cache::for('termUtility', 30*60)->connect('taxonomy');
+ $cache = Cache::for('termUtility', 'term', 30*60);
return $cache->remember(
$termID,
function() use($taxonomy, $termID) {
--
Gitblit v1.10.0