From ff4a2aa16eb67105eedd6657a271735ffece9351 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 22 Dec 2016 22:23:11 +0000 Subject: [PATCH] fix bug content_type --- www/dbq/dbq.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 65d829a1..92a384b7 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -581,7 +581,7 @@ document.addEventListener("DOMContentLoaded", function() { // Then content type if (empty($content_type)) $content_type = Mime::fromExt($format==self::CLI_FORMAT ? 'txt' : $format); - if (empty($content_type)) $content_type = 'text/plain'; + #if (empty($content_type)) $content_type = 'text/plain'; if ($content_type) $this->page->content_type($content_type); } -- 2.47.3