diff --git a/include/class.export.php b/include/class.export.php index 3a47bcc942e358d51fa6615bbd9d065a887182ba..63c9d48a9ee9ff498d213ac0336be569576c8013 100644 --- a/include/class.export.php +++ b/include/class.export.php @@ -254,7 +254,7 @@ class Export { $filename = $filename ?: sprintf('Agents-%s.csv', strftime('%Y%m%d')); Http::download($filename, "text/$how"); - $depts = Dept::getDepartments(); + $depts = Dept::getDepartments(null, true, Dept::DISPLAY_DISABLED); echo self::dumpQuery($agents, array( '::getName' => 'Name', '::getUsername' => 'Username',