summaryrefslogtreecommitdiff
path: root/app/Controller/AvatarFile.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-20 18:42:06 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-20 18:42:06 -0400
commit0fc020d3033a12ba42a650f3002cd50034368876 (patch)
tree20d1700b046245c1a90300044e4dbafec645553d /app/Controller/AvatarFile.php
parentd20e2e94eb4274951526a48cb0b67beac7062d09 (diff)
Added missing response::send() after refactoring
Diffstat (limited to 'app/Controller/AvatarFile.php')
-rw-r--r--app/Controller/AvatarFile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controller/AvatarFile.php b/app/Controller/AvatarFile.php
index 67c3efe1..1891a2fc 100644
--- a/app/Controller/AvatarFile.php
+++ b/app/Controller/AvatarFile.php
@@ -65,6 +65,7 @@ class AvatarFile extends BaseController
$this->response->withContentType('image/jpeg');
if ($this->request->getHeader('If-None-Match') !== '"'.$etag.'"') {
+ $this->response->send();
$this->render($filename, $size);
} else {
$this->response->status(304);