From 1391d503189105a91c3eda63932f296e603d98ca Mon Sep 17 00:00:00 2001 From: Thomas N Date: Tue, 26 Feb 2019 10:48:34 +0000 Subject: [PATCH 1/2] Update graphnvd3.php --- graphnvd3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphnvd3.php b/graphnvd3.php index 979fdba..ec29075 100644 --- a/graphnvd3.php +++ b/graphnvd3.php @@ -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)); } } From 06cb57f5670cee9225f238929bf699f7954d56ee Mon Sep 17 00:00:00 2001 From: Thomas Nabord Date: Wed, 27 Mar 2019 15:10:15 +0000 Subject: [PATCH 2/2] Bump version to 2.0.1 --- config.xml | 2 +- graphnvd3.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ec29075..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;