From 130a84a09326865126e0f335cafee123697bfb58 Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 15 Apr 2026 20:00:09 +0100 Subject: [PATCH] dasdas --- apartados.php | 4 ++-- slug.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apartados.php b/apartados.php index 495b724..fb6a4d5 100755 --- a/apartados.php +++ b/apartados.php @@ -25,7 +25,7 @@ if (!@$apartado) { include "footer.php"; $resultInclude = ob_get_clean(); - if (detect_error_on_code($resultInclude)){ + if (!detect_error_on_code($resultInclude)){ echo $resultInclude; }else{ echo error_html($resultInclude,true); @@ -47,7 +47,7 @@ if (!@$apartado) { $resultInclude = ob_get_clean(); - if (detect_error_on_code($resultInclude)){ + if (!detect_error_on_code($resultInclude)){ echo $resultInclude; }else{ echo error_html($resultInclude); diff --git a/slug.php b/slug.php index 42472c9..211453d 100755 --- a/slug.php +++ b/slug.php @@ -392,7 +392,7 @@ addPlugins("pre_render",$resultInclude); if (class_exists("CocoDB") && isset(CocoDB::$force_redis_html) && CocoDB::$force_redis_html && @$hash){ CocoDB::cacheSet(@$hash,$resultInclude); } -if (detect_error_on_code($resultInclude) ){ +if (!detect_error_on_code($resultInclude) ){ echo $resultInclude; }else{ echo error_html($resultInclude);