powermail icon indicating copy to clipboard operation
powermail copied to clipboard

[BUGFIX] Fixes "never reached localized form record UID" bug.

Open zoranilic opened this issue 3 years ago • 0 comments

If localized form record exists BackendUtilityCore::getRecordLocalization method will return array with one element which is an array of localized form data. Not the array of form data directly. This fix solves the bug by fetching the first element in array and then get the UID of localized record. $row is renamed to $results here. So, it should be "$results[0]['uid']" rather then "$results['uid']".

zoranilic avatar Apr 21 '21 18:04 zoranilic