mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #1738 in case piwigo.org news cannot be read, abort
This commit is contained in:
@@ -3501,6 +3501,10 @@ function get_piwigo_news($start, $count)
|
||||
file_put_contents($cache_path, serialize($all_news));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
if (is_null($all_news))
|
||||
|
||||
Reference in New Issue
Block a user