diff --git a/admin/tool/log/classes/helper/reader.php b/admin/tool/log/classes/helper/reader.php index ae0a376c816..f64e9f1bfe9 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); }