Skip to content

Commit

Permalink
MDL-81592 mnet: Fix testclient page
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov committed Apr 18, 2024
1 parent 8cf14f6 commit 67a5ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/mnet/testclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
$table->data = array();

foreach ($methods as $id => $method) {
$params = array('hostid' => $host->id, 'method' => $id+1);
$params = ['hostid' => $host->id, 'method' => intval($id) + 1];
if (isset($servicename)) {
$params['servicename'] = $servicename;
}
Expand Down

0 comments on commit 67a5ae6

Please sign in to comment.