Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16929

Bulk user export - import problem; wrong export string.

XMLWordPrintable

    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

      user_bulk_download.php

      Instaed of $v->name it should be $v-shortname

      if ($extrafields = get_records_select('user_info_field')) {
      foreach ($extrafields as $n=>$v)

      { $fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->name; }

      }

      It should be

      if ($extrafields = get_records_select('user_info_field')) {
      foreach ($extrafields as $n=>$v)

      { $fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname; }

      }

      Error and solution found by Lars Kobbe

            jerome Jérôme Mouneyrac
            ralfh Ralf Hilgenstock
            Petr Skoda Petr Skoda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.