powermail
powermail copied to clipboard
[BUGFIX] Fixes "never reached localized form record UID" bug.
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']".