Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-11-14 06:45:35 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-11-14 06:45:35 +0300
commita91388d2b1b3c60733ce19f35a4675a1ba6467df (patch)
tree77256a0a24b6085541d73ba19f277fe88a7d0866 /plugins/CustomVariables/Archiver.php
parentc7295c121b94489edf2800c6b220ee86e7b4c496 (diff)
Replaced usage of deprecated Common::json_encode to json_encode
Diffstat (limited to 'plugins/CustomVariables/Archiver.php')
-rw-r--r--plugins/CustomVariables/Archiver.php2
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) {