diff --git a/config.xml b/config.xml index e0ba05c..e2793d7 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ graphnvd3 - + diff --git a/graphnvd3.php b/graphnvd3.php index 979fdba..7837b1b 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -42,7 +42,7 @@ function __construct($type = null) $this->name = 'graphnvd3'; $this->tab = 'administration'; - $this->version = '2.0.0'; + $this->version = '2.0.1'; $this->author = 'PrestaShop'; $this->need_instance = 0; @@ -176,6 +176,6 @@ public function draw() $nvd3_values[] = array('x' => $x, 'y' => $y); $array['data'][] = array('values' => $nvd3_values, 'key' => $this->_titles['main'][$layer]); } - die(preg_replace('/"([0-9]+)"/', '$1', Tools::jsonEncode($array))); + echo preg_replace('/"([0-9]+)"/', '$1', Tools::jsonEncode($array)); } }