From 7c7baa77d67b1e4fa82d77081e969a70e4094237 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 6 Dec 2015 12:15:31 +0100 Subject: [PATCH] probe_url: Only cache successful results --- include/Scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Scrape.php b/include/Scrape.php index 4f9d675c18..af90a07506 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -831,7 +831,7 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) { } // Only store into the cache if the value seems to be valid - if ($result['network'] != NETWORK_FEED) + if ($result['network'] != NETWORK_PHANTOM) Cache::set("probe_url:".$mode.":".$url,serialize($result), CACHE_DAY); return $result;