diff --git a/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php b/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php index ae4349c..e904d4b 100644 --- a/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php +++ b/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php @@ -186,7 +186,7 @@ class SmartAssistant } $tool = $data->tool; - $params = (array) ($data->params ?? []); + $params = json_decode(json_encode($data->params ?? []), true) ?? []; $caseId = $data->caseId ?? null; $executor = $this->injectableFactory->create(ActionExecutor::class); diff --git a/manifest.json b/manifest.json index 014b734..cfd5272 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "module": "SmartAssistant", "description": "Unified AI Assistant for Legal CRM — floating chat with case memory, office alerts, and AI Gateway integration", "author": "klear", - "version": "2.7.1", + "version": "2.7.2", "acceptableVersions": [ ">=8.0.0" ],