From 5605bdd2894a53f240aac46b7d0b2804d11a8fb0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 7 Jan 2018 10:02:21 -0500 Subject: [PATCH] Remove debug code --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index a79a201358..0b763d687c 100644 --- a/include/text.php +++ b/include/text.php @@ -1203,7 +1203,7 @@ function put_item_in_cache(&$item, $update = false) { $rendered_hash = defaults($item, 'rendered-hash', ''); - if (true || $rendered_hash == '' + if ($rendered_hash == '' || $item["rendered-html"] == "" || $rendered_hash != hash("md5", $item["body"]) || Config::get("system", "ignore_cache") -- 2.39.5