Skip to content
Snippets Groups Projects
Commit 83b359c7 authored by Florian Azizian's avatar Florian Azizian
Browse files

fix res_id in sendDataWS

parent 23ee2017
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ function manage_send($aId) ...@@ -14,7 +14,7 @@ function manage_send($aId)
foreach ($config['rawData'] as $value) { foreach ($config['rawData'] as $value) {
$select[] = $value; $select[] = $value;
} }
$document = \Resource\models\ResModel::getOnView(['select' => $select, 'where' => ['res_id = ?'], 'data' => [$aId[0]]]); $document = \Resource\models\ResModel::getOnView(['select' => $select, 'where' => ['res_id = ?'], 'data' => [$resId]]);
\SrcCore\models\CurlModel::exec(['curlCallId' => 'sendData', 'bodyData' => $document[0]]); \SrcCore\models\CurlModel::exec(['curlCallId' => 'sendData', 'bodyData' => $document[0]]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment