diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-27 10:18:25 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-27 10:18:25 +0400 |
commit | fea7caa76c37de6f367d4d4cbdfe751b356e9b67 (patch) | |
tree | daa0a8c17ac5038e90f21a9496a3f11e01647f5a /misc | |
parent | 6dcd58cdcd5d9af97b1466e1728363667d0019bd (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.php | 2 |
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); } |