commit | e7714a6c0911a42ead7934934334b7d330b36e87 | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | Thu Jan 11 01:26:00 2007 +0000 |
committer | Mark Slee <mcslee@apache.org> | Thu Jan 11 01:26:00 2007 +0000 |
tree | c6e2d7fa75eac764005070d70158c2b7f78f7916 | |
parent | a4713ea566a6b0a8908b558663f71aa46d4817d5 [diff] [blame] |
Fix call_user_func bug on debugHandler_ Reviewed By: lucas git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664905 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/transport/TSocket.php b/lib/php/src/transport/TSocket.php index c193305..c33a352 100644 --- a/lib/php/src/transport/TSocket.php +++ b/lib/php/src/transport/TSocket.php
@@ -147,7 +147,7 @@ if ($this->handle_ === FALSE) { $error = 'TSocket: Could not connect to '.$this->host_.':'.$this->port_; if ($this->debug_) { - $this->debugHandler_($error); + call_user_func($this->debugHandler_, $error); } throw new Exception($error); }