Skip to content

Commit 67b5a3b

Browse files
committed
use spl_error_id instead of spl_object_hash
1 parent 72cf0b7 commit 67b5a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityHTTPD.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function logThrowableAndMessageUser(
5050
string $user_message_title,
5151
string $user_message_body,
5252
) {
53-
$errorid = spl_object_hash($error);
53+
$errorid = spl_object_id($error);
5454
$data = [];
5555
self::errorLog($log_title, $log_message, error: $error, errorid: $errorid, data: $data);
5656
if (strlen($user_message_body) == 0) {

0 commit comments

Comments
 (0)