Fixed an issue with the freetext importer where unsetting a duplicate value would not be reflected in the entry IDs

- this caused some attributes to be dropped from the end of the list
pull/731/merge
iglocska 2015-12-14 11:50:37 +01:00
parent 2213240e5f
commit 4b115c8bfa
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
{"major":2, "minor":3, "hotfix":177}
{"major":2, "minor":3, "hotfix":178}

View File

@ -2917,6 +2917,7 @@ class EventsController extends AppController {
if (isset($resultArray[$i]) && $v == $resultArray[$i]) unset ($resultArray[$k]);
}
}
$resultArray = array_values($resultArray);
$typeCategoryMapping = array();
foreach ($this->Event->Attribute->categoryDefinitions as $k => $cat) {
foreach ($cat['types'] as $type) {