aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-18 21:55:06 +0200
committerMax Kostikov <max@kostikov.co>2019-04-18 21:55:06 +0200
commitdb020ca1a309cd2d8304b0c7fe25a73bb77bdbce (patch)
tree2f9b30c9a1530602f6e6186e8b97d46ef017733f /Zotlabs
parenteb02d01eede6739550a3ad4ef1d17d559c02528c (diff)
downloadvolse-hubzilla-db020ca1a309cd2d8304b0c7fe25a73bb77bdbce.tar.gz
volse-hubzilla-db020ca1a309cd2d8304b0c7fe25a73bb77bdbce.tar.bz2
volse-hubzilla-db020ca1a309cd2d8304b0c7fe25a73bb77bdbce.zip
Update Photo.php
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 40c36e8fe..7e25e08b2 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -223,7 +223,7 @@ class Photo extends \Zotlabs\Web\Controller {
header_remove('Pragma');
- if($_SERVER['HTTP_IF_NONE_MATCH'] == md5($data) || $_SERVER['HTTP_IF_MODIFIED_SINCE'] === gmdate("D, d M Y H:i:s", $modified) . " GMT") {
+ if($_SERVER['HTTP_IF_NONE_MATCH'] === md5($data) || $_SERVER['HTTP_IF_MODIFIED_SINCE'] === gmdate("D, d M Y H:i:s", $modified) . " GMT") {
header_remove('Expires');
header_remove('Cache-Control');
header_remove('Set-Cookie');