From ee6a1bdde381a4ac95d8c7393deda3ebbaae1ead Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 2 Dec 2013 19:53:36 +0100 Subject: PHP : Alertes fonction date() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit En attendant https://github.com/marienfressinaud/FreshRSS/issues/310 la fonction date() générait des alertes sur les systèmes n'ayant pas personnalisé PHP Voir http://us3.php.net/manual/en/function.date-default-timezone-set.php --- lib/lib_rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 9bce0760b..22e50a424 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -70,7 +70,7 @@ function timestamptodate ($t, $hour = true) { $date = Translate::t ('format_date', $month); } - return date ($date, $t); + return @date ($date, $t); } function sortEntriesByDate ($entry1, $entry2) { -- cgit v1.2.3