Skip to content

Commit

Permalink
Merge pull request #6 from PrestaShop/dev
Browse files Browse the repository at this point in the history
Deploy v2.0.1 of the graphnvd3 module
  • Loading branch information
Quetzacoalt91 authored Apr 3, 2019
2 parents c7f98ea + e50b4e2 commit c4b8fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>graphnvd3</name>
<displayName><![CDATA[NVD3 Charts]]></displayName>
<version><![CDATA[2.0.0]]></version>
<version><![CDATA[2.0.1]]></version>
<description><![CDATA[]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[administration]]></tab>
Expand Down
4 changes: 2 additions & 2 deletions graphnvd3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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));
}
}

0 comments on commit c4b8fa0

Please sign in to comment.