From a58a2e7ca4700d3e23341fde767060a4c2c704a3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 30 Aug 2026 21:04:37 +0000
Subject: [PATCH] =Minor tweaks to MenuBlock.php
---
checks.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks.php b/checks.php
index 242bf4c..4339047 100644
--- a/checks.php
+++ b/checks.php
@@ -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