diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index c0924670..4be2ac69 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -1260,8 +1260,9 @@ class UserController extends BaseController $log['remarks'] = json_encode($data); + } else { + $log['remarks'] = json_encode($res); } - $log['remarks'] = json_encode($res); log_action($log); }