You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2008/07/03 11:45:57 UTC

svn commit: r673636 - /incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php

Author: chabotc
Date: Thu Jul  3 02:45:56 2008
New Revision: 673636

URL: http://svn.apache.org/viewvc?rev=673636&view=rev
Log:
Typo should be  and not ->lastModified

Modified:
    incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php

Modified: incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php?rev=673636&r1=673635&r2=673636&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php Thu Jul  3 02:45:56 2008
@@ -188,7 +188,7 @@
 				if (isset($_SERVER['HTTP_IF_NONE_MATCH']) && $_SERVER['HTTP_IF_NONE_MATCH'] == $etag) {
 					// if e-tag's match, set not modified, and no need to check the if-modified-since headers
 					$notModified = true;
-				} elseif (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && $this->lastModified && ! isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
+				} elseif (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && $lastModified && ! isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
 					$if_modified_since = strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']);
 					// Use the request's Last-Modified, otherwise fall back on our internal time keeping (the time the request was created)
 					$lastModified = strtotime($lastModified);