From a9535797e6214340ad02e432cfaa63d1cde1233f Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Mon, 10 Apr 2017 13:38:02 +0200 Subject: [PATCH] [ShanaprojectBridge] Don't throw error if timestamp is missing --- bridges/ShanaprojectBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/ShanaprojectBridge.php b/bridges/ShanaprojectBridge.php index d5fda9f5..cdf8ed25 100644 --- a/bridges/ShanaprojectBridge.php +++ b/bridges/ShanaprojectBridge.php @@ -48,7 +48,7 @@ class ShanaprojectBridge extends BridgeAbstract { private function extractAnimeTimestamp($anime){ $timestamp = $anime->find('span.header_info_block', 1); if(!$timestamp) - returnServerError('Could not find anime timestamp!'); + return null; return strtotime($timestamp->innertext); }