We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd65335 commit 87ac367Copy full SHA for 87ac367
1 file changed
wcfsetup/install/files/lib/util/UserUtil.class.php
@@ -3,7 +3,6 @@
3
namespace wcf\util;
4
5
use wcf\system\email\Mailbox;
6
-use wcf\system\exception\SystemException;
7
use wcf\system\WCF;
8
9
/**
@@ -280,7 +279,7 @@ public static function verifyGuestToken(string $token): ?string
280
279
281
try {
282
$data = \json_decode($json, true, flags: \JSON_THROW_ON_ERROR);
283
- } catch (SystemException $e) {
+ } catch (\JsonException) {
284
return null;
285
}
286
0 commit comments