Skip to content

Commit 928d723

Browse files
author
wrongecho
committed
More enforcing user permissions
1 parent 654b590 commit 928d723

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

post/location_model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
$hours = sanitizeInput($_POST['hours']);
1212
$notes = sanitizeInput($_POST['notes']);
1313
$contact = intval($_POST['contact']);
14-
$location_primary = intval($_POST['location_primary']);
14+
$location_primary = intval($_POST['location_primary']);

post/network_model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
$dhcp_range = sanitizeInput($_POST['dhcp_range']);
1111
$notes = sanitizeInput($_POST['notes']);
1212
$location_id = intval($_POST['location']);
13-
$client_id = intval($_POST['client_id']);
13+
$client_id = intval($_POST['client_id']);

0 commit comments

Comments
 (0)