Ticket #4348: xmlrpc.php-diff
| File xmlrpc.php-diff, 398 bytes (added by josephscott, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: xmlrpc.php |
| 2 | =================================================================== |
| 3 | --- xmlrpc.php (revision 5568) |
| 4 | +++ xmlrpc.php (working copy) |
| 5 | @@ -534,7 +534,7 @@ |
| 6 | $username = $args[1]; |
| 7 | $password = $args[2]; |
| 8 | $category = $args[3]; |
| 9 | - $max_results = $args[4]; |
| 10 | + $max_results = (int) $args[4]; |
| 11 | |
| 12 | if(!$this->login_pass_ok($username, $password)) { |
| 13 | return($this->error); |
