fix true/false toggle switch
This commit is contained in:
@@ -386,7 +386,7 @@ class UrbackupApiClient
|
||||
'sa' => 'clientsettings_save',
|
||||
't_clientid' => $client_id,
|
||||
'overwrite' => 'true',
|
||||
$key => $enabled ? '1' : '0',
|
||||
$key => $enabled ? 'true' : 'false',
|
||||
];
|
||||
|
||||
$data = $this->apiAction('settings', $params);
|
||||
|
||||
Reference in New Issue
Block a user