fix export headers to xls and csv #1933

pull/2487/head
Alex Aragon 8 years ago
parent 5ee57edb09
commit 2a9f177df9
  1. 2
      main/admin/user_export.php

@ -132,7 +132,7 @@ if ($form->validate()) {
$extra_fields = UserManager::get_extra_fields(0, 0, 5, 'ASC', false);
if (!empty($export['addcsvheader'])) {
if ($export['addcsvheader'] == '1' && ($export['file_type'] == 'csv')) {
if ($export['addcsvheader'] == '1' && ($export['file_type'] == 'csv' || $export['file_type'] == 'xls' )) {
if ($_configuration['password_encryption'] != 'none') {
$data[] = array(
'UserId',

Loading…
Cancel
Save