Procházet zdrojové kódy

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

Xavier Perez před 14 roky
rodič
revize
19090d3fb7

+ 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');
     }
 
     /**