This commit is contained in:
ALEXks
2025-05-19 14:07:33 +03:00
parent c548f4ab4c
commit 4bcf83f551

View File

@@ -1171,9 +1171,7 @@ int SPF_GetArrayLinks(void*& context, int winHandler, short *options, short *pro
linkedArrays[ref].insert(toAdd);
}
json links;
json allLinks = json::array();
for (auto& array : linkedArrays)
{
json currLink;
@@ -1186,9 +1184,11 @@ int SPF_GetArrayLinks(void*& context, int winHandler, short *options, short *pro
allLinks.push_back(currLink);
}
json links;
links["allLinks"] = allLinks;
string resVal = allLinks.dump();
string resVal = links.dump();
copyStringToShort(result, resVal);
retSize = (int)resVal.size() + 1;
}