From: Nicolas Boisselier Date: Tue, 7 Feb 2017 15:12:07 +0000 (+0000) Subject: fix bug envs to vars when isset X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=d84fccb915df38586fa0840db81c44c84047c945;p=nb.git fix bug envs to vars when isset --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 8f5f6d9e..9efa7df1 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -72,7 +72,7 @@ class DbQ extends nb { 'format_html_ua_exp' ] as $k) { $env = 'DBQ_'.strtoupper($k); - if (!empty($_SERVER[$env])) $this->$k = $_SERVER[$env]; + if (isset($_SERVER[$env])) $this->$k = $_SERVER[$env]; } // Envs -> params