From d84fccb915df38586fa0840db81c44c84047c945 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 7 Feb 2017 15:12:07 +0000 Subject: [PATCH] fix bug envs to vars when isset --- 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 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 -- 2.47.3