diff options
author | Andrew Dolgov <[email protected]> | 2013-04-01 21:13:13 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-01 21:13:13 +0400 |
commit | d6ba77f3ad6183f0acce75790172fb22f2100367 (patch) | |
tree | e4a5fa4adb947ff45a970991c549cf0737c7cc4a /classes/handler/public.php | |
parent | 2e35a7070b17a7bbc01730071391382f9cbe09ea (diff) |
fix 304 being returned all the time
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 151447540..f6a5786a5 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -32,7 +32,7 @@ class Handler_Public extends Handler { $ts = strtotime(db_fetch_result($result, 0, "date_entered")); if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && - strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) >= $last_modified) { + strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) >= $ts) { header('HTTP/1.0 304 Not Modified'); return; } |