Skip to content

Commit

Permalink
fixed integer casting syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent 71666cf commit 81322e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnet/xmlrpc/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function mnet_xmlrpc_client() {
function set_timeout($timeout) {
if (!is_integer($timeout)) {
if (is_numeric($timeout)) {
$this->timeout = (integer($timeout));
$this->timeout = (integer)$timeout;
return true;
}
return false;
Expand Down

0 comments on commit 81322e6

Please sign in to comment.