Commit 596e30c0 authored by Tommaso Basilici's avatar Tommaso Basilici
Browse files

Update client.inc.php

parent d08b278d
Pipeline #8346 passed with stage
in 8 minutes
......@@ -245,12 +245,12 @@ class remoting_client extends remoting {
$app->remoting_lib->ispconfig_sysuser_update($params, $client_id);
// if canceled
if ($params['canceled']) {
$result = functions::func_client_cancel($client_id, $params['canceled']);
}
// if locked
if ($params['locked']) {
$result = functions::func_client_lock($client_id, $params['locked']);
if ($params['canceled']) {
$result = $app->functions->func_client_cancel($client_id, $params['canceled']);
}
// if locked
if ($params['locked']) {
$result = $app->functions->func_client_lock($client_id, $params['locked']);
}
return $affected_rows;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment