Admin: User export: Fix issue in full export introduced by last_login option in 9472790 - refs BT#21021

pull/4927/head
Yannick Warnier 2 years ago
parent 7e32973a2d
commit 363fdd0f51
  1. 7
      main/admin/user_export.php

@ -96,9 +96,10 @@ if ($form->validate()) {
u.phone AS Phone,
u.registration_date AS RegistrationDate,
u.active AS Active,
u.expiration_date,
u.last_login AS LastLogin
";
u.expiration_date";
if ($export['addlastlogin'] == '1') {
$sql .= ", u.last_login AS LastLogin";
}
if (strlen($course_code) > 0) {
$sql .= " FROM $user_table u, $course_user_table cu
WHERE

Loading…
Cancel
Save