Bug #13272 » 818.diff
src/usr/local/www/services_captiveportal_vouchers.php | ||
---|---|---|
166 | 166 |
" " . escapeshellarg($number) . |
167 | 167 |
" " . escapeshellarg($count); |
168 | 168 |
send_user_download('data', |
169 |
shell_exec($cmd),
|
|
169 |
preg_replace('/" /', '"', shell_exec($cmd)),
|
|
170 | 170 |
"vouchers_{$cpzone}_roll{$number}.csv"); |
171 | 171 |
} |
172 | 172 |
@unlink("{$g['varetc_path']}/voucher_{$cpzone}.private"); |