mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
fixed integer casting syntax error
This commit is contained in:
parent
71666cf314
commit
81322e6483
@ -39,7 +39,7 @@ class 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user