mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not do double checks for this
This commit is contained in:
parent
a823022d61
commit
cd54b9bc07
@ -50,7 +50,7 @@ $cpzone = $_GET['zone'];
|
||||
if (isset($_POST['zone']))
|
||||
$cpzone = $_POST['zone'];
|
||||
|
||||
if (empty($cpzone) || empty($config['captiveportal'][$cpzone])) {
|
||||
if (empty($cpzone)) {
|
||||
header("Location: services_captiveportal_zones.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user