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) {