diff --git a/admin/tool/log/classes/helper/reader.php b/admin/tool/log/classes/helper/reader.php index 2e947748da0..5cc28c3d941 100644 --- a/admin/tool/log/classes/helper/reader.php +++ b/admin/tool/log/classes/helper/reader.php @@ -75,7 +75,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); }