mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
ResultProcessor - fix bug when iterable data with multiple items was returned
This commit is contained in:
@@ -55,9 +55,9 @@ class ResultProcessor
|
||||
*/
|
||||
if (MethodType::isResultIterable($method)) {
|
||||
$items = [];
|
||||
$emptyItem = clone $item;
|
||||
|
||||
foreach ($rawData as $itemData) {
|
||||
$emptyItem = clone $item;
|
||||
$items[] = $emptyItem->setValues($itemData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user