diff --git a/admin/tool/log/classes/helper/reader.php b/admin/tool/log/classes/helper/reader.php index e8543e2e7fe..d8c5d3c314e 100644 --- a/admin/tool/log/classes/helper/reader.php +++ b/admin/tool/log/classes/helper/reader.php @@ -82,7 +82,7 @@ trait reader { */ public static function decode_other(?string $other) { if ($other === 'N;' || preg_match('~^.:~', $other ?? '')) { - return unserialize($other); + return unserialize($other, ['allowed_classes' => [stdClass::class]]); } else { return json_decode($other ?? '', true); }