1
0
Fork 0
forked from blallo/rss-bridge

[ShanaprojectBridge] Don't throw error if timestamp is missing

This commit is contained in:
logmanoriginal 2017-04-10 13:38:02 +02:00
parent fc9084eb17
commit a9535797e6

View file

@ -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);
}