From 0e0ab49fac2222e7e02bdbe5707fa1328936ad23 Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Mon, 20 Jun 2022 14:50:10 +0200 Subject: [PATCH] related to #1672 Quick fix for activity unserializing $details --- include/ws_functions/pwg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index e04dc410d..bc81f1f49 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -475,7 +475,7 @@ SELECT { $row['details'] = str_replace('`groups`', 'groups', $row['details']); $row['details'] = str_replace('`rank`', 'rank', $row['details']); - $details = unserialize($row['details']); + $details = @unserialize($row['details']); if (isset($details['method'])) {