Bug #6231
closed
Captive portal won't allow changing the voucher charset at all.
Added by sebastian nielsen almost 10 years ago.
Updated almost 10 years ago.
Description
Attempting to change the charset to anything just render the error:
"The following input errors were detected:
Need at least 2 characters to create vouchers."
Example:
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Found the bug. misplaced parenthis:
if ($_POST['charset'] && (strlen($_POST['charset'] < 2))) {
This causes the system to only allow digits in the voucher charset dialog.
Correct line should be:
if ($_POST['charset'] && (strlen($_POST['charset']) < 2)) {
forgot filename too, services_captiveportal_vouchers.php
- Status changed from New to Feedback
- Assignee set to Chris Buechler
Good catch. Not sure what input you had there which caused the issue, the default character set was fine. Fix pushed
- Status changed from Feedback to Resolved
Also available in: Atom
PDF