summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index 895a0d48c..60c2418ae 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -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);