Skip to content

Commit

Permalink
Fix data param undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
louislivi committed Dec 30, 2018
1 parent fc44eca commit 8fdbd97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MysqlProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ public function recv()
} else {
$data = $client->recv();
}
} else {
$data = '';
}
$this->mysqlClient->push($client);
if ($data === '') {
Expand Down

0 comments on commit 8fdbd97

Please sign in to comment.