Skip to content

loop L#34-L#41 of generate.php gives inconsistent csv table #1

@githubertus

Description

@githubertus

because the subtype and number of entities per user may vary.
(e.g. some have 'language' entity, others not)
I'm not that much an array wizzard to leave an intelligent patch at once here, but basically it has to be changed like that:

  1. read all rows into temporary array
  2. collect all available (subtype) array keys
  3. build up new array including all of these keys and build header row
  4. merge records of step 1 into array of step 3
  5. write to file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions