Browse Source

[HttpFoundation] Fixed a typo in response->setLastModified()

Xavier Perez 14 years ago
parent
commit
19090d3fb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Component/HttpFoundation/Response.php

+ 1 - 1
src/Symfony/Component/HttpFoundation/Response.php

@@ -511,7 +511,7 @@ class Response
      */
     public function getLastModified()
     {
-        return $this->headers->getDate('LastModified');
+        return $this->headers->getDate('Last-Modified');
     }
 
     /**