From: jerome <jerome>
Date: Wed, 22 Oct 2008 01:33:37 +0000 (+0000)
Subject: MDL-16929: fix bulk user download function. (the shortname column title is now profil... 
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=69574ad1f4bbf57b93dd49165fbd367187666baa;p=moodle.git

MDL-16929: fix bulk user download function. (the shortname column title is now profile_field_"shortname"), merged from 19
---

diff --git a/admin/user/user_bulk_download.php b/admin/user/user_bulk_download.php
index a93ba17786..96a59bee80 100755
--- a/admin/user/user_bulk_download.php
+++ b/admin/user/user_bulk_download.php
@@ -39,7 +39,7 @@ if ($format) {
 
     if ($extrafields = $DB->get_records_select('user_info_field')) {
         foreach ($extrafields as $n=>$v){
-            $fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->name;
+            $fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname;
         }
     }