Skip to content

Commit

Permalink
Manually fix PR2, thanks lamery
Browse files Browse the repository at this point in the history
  • Loading branch information
winks committed Dec 29, 2011
1 parent b7d87bf commit 07c3f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mongrel2/Connection.php
Expand Up @@ -52,7 +52,7 @@ public function send($uuid, $conn_id, $msg)


public function reply_json($req, $data) public function reply_json($req, $data)
{ {
$this->send($req->sender, $req->conn_id, json_encode($msg)); $this->send($req->sender, $req->conn_id, json_encode($data));
} }


public function reply_http($req, $body, $code = 200, $status = "OK", $headers = null) public function reply_http($req, $body, $code = 200, $status = "OK", $headers = null)
Expand Down

0 comments on commit 07c3f88

Please sign in to comment.