MDL-64737 editor_atto: Fix the privacy export_user_data() implementation
Multiple issues fixed: * Fixed order of the statements to avoid access to undefined variables. * Fixed population of the SQL query parameter to make sure they match the placeholder in the query. * Fixed missing table aliases in the second query to make sure the query actually works as expected.
Showing with 14 additions and 7 deletions