From: garvinhicking Date: Fri, 25 Aug 2006 13:20:34 +0000 (+0000) Subject: Fix gmdate function for proper parameters X-Git-Tag: 1.1~104 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=218ebab342f6f1abc4dc48e00c8b0284ec2a1285;p=s9y.git Fix gmdate function for proper parameters --- diff --git a/rss.php b/rss.php index cc3321c..081fe2e 100644 --- a/rss.php +++ b/rss.php @@ -50,7 +50,7 @@ if (!isset($_GET['nocache'])) { // See if the client has provided the required headers. // Always convert the provided header into GMT timezone to allow comparing to the server-side last-modified header $modified_since = !empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) - ? gmdate('D, d M Y H:i:s \G\M\T', strtotime(stripslashes($_SERVER['HTTP_IF_MODIFIED_SINCE'])), true) + ? gmdate('D, d M Y H:i:s \G\M\T', strtotime(stripslashes($_SERVER['HTTP_IF_MODIFIED_SINCE']))) : false; $none_match = !empty($_SERVER['HTTP_IF_NONE_MATCH']) ? str_replace('"', '', stripslashes($_SERVER['HTTP_IF_NONE_MATCH']))