diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-14 06:45:35 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-14 06:45:35 +0300 |
commit | a91388d2b1b3c60733ce19f35a4675a1ba6467df (patch) | |
tree | 77256a0a24b6085541d73ba19f277fe88a7d0866 /plugins/CustomVariables/Archiver.php | |
parent | c7295c121b94489edf2800c6b220ee86e7b4c496 (diff) |
Replaced usage of deprecated Common::json_encode to json_encode
Diffstat (limited to 'plugins/CustomVariables/Archiver.php')
-rw-r--r-- | plugins/CustomVariables/Archiver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CustomVariables/Archiver.php b/plugins/CustomVariables/Archiver.php index 47e1363dc4..704038b0a1 100644 --- a/plugins/CustomVariables/Archiver.php +++ b/plugins/CustomVariables/Archiver.php @@ -154,7 +154,7 @@ class Archiver extends \Piwik\Plugin\Archiver if (substr($value, -2) != '"]') { $value .= '"]'; } - $decoded = @Common::json_decode($value); + $decoded = json_decode($value); if (is_array($decoded)) { $count = 0; foreach ($decoded as $category) { |