mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Change theme on click now instead of selecting them then hitting submit more ?? 0s for the form checkboxes
This commit is contained in:
@@ -7,7 +7,8 @@ $model = sanitizeInput($_POST['model']);
|
||||
$serial = sanitizeInput($_POST['serial']);
|
||||
$os = sanitizeInput($_POST['os']);
|
||||
$ip = sanitizeInput($_POST['ip']);
|
||||
if ($_POST['dhcp'] == 1) {
|
||||
$dhcp = intval($_POST['dhcp'] ?? 0);
|
||||
if ($dhcp == 1) {
|
||||
$ip = 'DHCP';
|
||||
}
|
||||
$ipv6 = sanitizeInput($_POST['ipv6']);
|
||||
|
||||
Reference in New Issue
Block a user