]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
copy-and-paste typo
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:15:08 +0000 (23:15 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:15:08 +0000 (23:15 -0500)
darcs-hash:20081202041508-5ed1f-d54be6a7ec9aedebf10b813ee7e102c0c053f6cf.gz

lib/action.php

index 895a0d48c48c63ecdda51cb97b320eed68104187..60c2418aeb1b77663bced6a27ad0478ee6832fed 100644 (file)
@@ -64,7 +64,7 @@ class Action { // lawsuit
                $lm = $this->last_modified();
                
                if ($lm) {
-                       header('Last-Modified: ' . date(DATE_RFC822, $dt));
+                       header('Last-Modified: ' . date(DATE_RFC822, $lm));
                        $if_modified_since = $_SERVER['HTTP_IF_MODIFIED_SINCE'];
                        if ($if_modified_since) {
                                $ims = strtotime($if_modified_since);