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
path: root/misc
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-27 10:18:25 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-27 10:18:25 +0400
commitfea7caa76c37de6f367d4d4cbdfe751b356e9b67 (patch)
treedaa0a8c17ac5038e90f21a9496a3f11e01647f5a /misc
parent6dcd58cdcd5d9af97b1466e1728363667d0019bd (diff)
Silence unserialize error so content can be shown in error output in cron archive.php.
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/archive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php
index 0a11bb5230..33625addb0 100644
--- a/misc/cron/archive.php
+++ b/misc/cron/archive.php
@@ -472,7 +472,7 @@ class CronArchive
if ($url == $urlNoSegment
&& $successResponse
) {
- $stats = unserialize($content);
+ $stats = @unserialize($content);
if (!is_array($stats)) {
$this->logError("Error unserializing the following response: " . $content);
}