Browse Source

Adding id when exporting classes see #6680

Julio Montoya 11 years ago
parent
commit
ef41fdf7a3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/admin/usergroup_export.php

+ 2 - 2
main/admin/usergroup_export.php

@@ -30,7 +30,7 @@ $form->addElement('style_submit_button', 'submit', get_lang('Export'), 'class="s
 
 if ($form->validate()) {
     $user_group = new UserGroup;
-    $header = array(array('name', 'description'));
+    $header = array(array('id', 'name', 'description'));
     $data = $user_group->get_all_for_export();
     $data = array_merge($header, $data);
     $filename = 'export_classes_'.api_get_local_time();
@@ -39,4 +39,4 @@ if ($form->validate()) {
 }
 Display :: display_header($tool_name);
 $form->display();
-Display::display_footer();
+Display::display_footer();