diff --git a/file.php b/file.php index e5dd71ed8069048ce1de64a95515027bf6243233..22cc8094be840bc25b322a6d571921f697beb8f8 100644 --- a/file.php +++ b/file.php @@ -30,7 +30,7 @@ if (!$_GET['key'] // and the user has access to the parent ticket!! if ($file->verifySignature($_GET['signature'], $_GET['expires'])) { if (($s = @$_GET['s']) && strpos($file->getType(), 'image/') === 0) - $file->display($s); + return $file->display($s); // Download the file.. $file->download(@$_GET['disposition'] ?: false, $_GET['expires']);