diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php
index <HASH>..<HASH> 100644
--- a/core/Plugin/Visualization.php
+++ b/core/Plugin/Visualization.php
@@ -445,12 +445,18 @@ class Visualization extends ViewDataTable
                 continue;
             }
 
+            $valueToConvert = false;
+
             if (property_exists($this->requestConfig, $name)) {
-                $javascriptVariablesToSet[$name] = $this->convertForJson($this->requestConfig->$name);
+                $valueToConvert = $this->requestConfig->$name;
             } else if (property_exists($this->config, $name)) {
-                $javascriptVariablesToSet[$name] = $this->convertForJson($this->config->$name);
+                $valueToConvert = $this->config->$name;
             } else if (property_exists($this, $name)) {
-                $javascriptVariablesToSet[$name] = $this->convertForJson($this->$name);
+                $valueToConvert = $this->$name;
+            }
+
+            if (false !== $valueToConvert) {
+                $javascriptVariablesToSet[$name] = $this->convertForJson($valueToConvert);
             }
         }
do not send variables to client having value false