|
@@ -409,6 +409,13 @@ function cwp7_ChangePackage($params) {
|
|
|
'package' => $params['configoption1'],
|
|
'package' => $params['configoption1'],
|
|
|
);
|
|
);
|
|
|
$response = $cwp7->modifyAccount($data);
|
|
$response = $cwp7->modifyAccount($data);
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'cwp7',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $data,
|
|
|
|
|
+ 'debug',
|
|
|
|
|
+ $response
|
|
|
|
|
+ );
|
|
|
if($response['status'] != 'OK') {
|
|
if($response['status'] != 'OK') {
|
|
|
return 'Error: ' . $response['error_msg'];
|
|
return 'Error: ' . $response['error_msg'];
|
|
|
}
|
|
}
|