Skip to content

Commit a1d9e78

Browse files
committed
wip
1 parent a91eec9 commit a1d9e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wp-mysql-proxy/src/class-mysql-proxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function start() {
4040
if ( $client ) {
4141
echo "New client connected.\n";
4242
$this->clients[] = $client;
43-
$client_id = spl_object_id( $client );
43+
$client_id = get_resource_id( $client );
4444
$this->client_servers[ $client_id ] = new MySQL_Session( $this->query_handler );
4545

4646
// Send initial handshake

0 commit comments

Comments
 (0)