Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2387 → Rev 2388

/CHANGELOG
15,6 → 15,7
- Fix the open of status.php when the user has a redirection URL attribute defined (force redirection to intercept.php after login instead of WISPr-Redirection-URL attribute value).
- IP address of active users are properly clean from "current_users.txt".
- Fix allowed MAC address detection in ACC activity page.
- Fix a bug when generating 50+ user tickets at once.
 
-------------------- 3.1.4 --------------------
NEWS
/web/acc/manager/htdocs/ticket_voucher.php
47,7 → 47,7
// Generate tickets
$ticketsGenerator = new TicketsGenerator(['language' => $langue_imp]);
 
 
ob_start();
for ($i = 0; $i < $nbTickets; $i++) {
// Generate username and password
$login = generateRandomString(8);
89,12 → 89,17
'expiration' => $exp_imp
]);
}
$content_generation = ob_get_clean();
 
 
// Generate the PDF
$ticketsGenerator->output();
$ret = $ticketsGenerator->output();
 
if (!$ret) {
echo $content_generation;
echo 'Error during tickets report generation';
}
 
 
/**
* Format time in seconds to days/hours/minutes/secondes.
*