Browse Source

fix previous wrt if-modified-since being added to context options headers

Andrew Dolgov 1 year ago
parent
commit
e7c9bc60ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/functions.php

+ 1 - 1
include/functions.php

@@ -500,7 +500,7 @@
 				  );
 
 			if (!$post_query && $last_modified) {
-				$context_options['http']['header'] = "If-Modified-Since: $last_modified\r\n";
+				array_push($context_options['http']['header'], "If-Modified-Since: $last_modified");
 			}
 
 			if (defined('_HTTP_PROXY')) {