export updated.... for the most part

master^2
Mike Koch 6 years ago
parent 0823390738
commit 5e5a8193e9
No known key found for this signature in database
GPG Key ID: 9DF46195699C8A67

@ -300,7 +300,8 @@ while ($row = hesk_dbFetchAssoc($res2)) {
// Generate export file
if (isset($_GET['w'])) {
// We'll need HH:MM:SS format for hesk_date() here
/*
* // We'll need HH:MM:SS format for hesk_date() here
$hesk_settings['timeformat'] = 'H:i:s';
// Get staff names
@ -323,7 +324,7 @@ if (isset($_GET['w'])) {
if (!file_exists($export_dir.'index.htm')) {
@file_put_contents($export_dir.'index.htm', '');
}
// Cleanup old files
hesk_purge_cache('export', 86400);
} else {
@ -637,6 +638,10 @@ if (isset($_GET['w'])) {
else {
hesk_unlink($save_to);
}
*/
require_once(HESK_PATH . 'inc/export_functions.inc.php');
list($success_msg, $tickets_exported) = hesk_export_to_XML($sql);
}
/* Print header */

Loading…
Cancel
Save