From: Nicolas Boisselier Date: Wed, 29 Mar 2017 13:10:32 +0000 (+0100) Subject: set is_html for db object X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=e6ef18758ba886571668fa9b6b6553f57a6a0034;p=nb.git set is_html for db object --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 5ecf2a47..8ec9a8ac 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -559,6 +559,7 @@ class DbQ extends nb { if ($format == 'html') $format = $this->format_html; $this->params['format'] = $format; $this->db->format = $format; + $this->db->is_html = strpos($content_type,'html') ? true : false; }