]> git.nbdom.net Git - nb.git/commitdiff
fix bug content_type
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 22 Dec 2016 22:23:11 +0000 (22:23 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 22 Dec 2016 22:23:11 +0000 (22:23 +0000)
www/dbq/dbq.php

index 65d829a149115b63a746b18102c132e0cb1898b0..92a384b7a2c3ba1c8adde9daf8b5fc6345574582 100644 (file)
@@ -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);
 
   }