Skip to content

Commit

Permalink
More enforcing user permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Sep 28, 2024
1 parent 654b590 commit 928d723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion post/location_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
$hours = sanitizeInput($_POST['hours']);
$notes = sanitizeInput($_POST['notes']);
$contact = intval($_POST['contact']);
$location_primary = intval($_POST['location_primary']);
$location_primary = intval($_POST['location_primary']);
2 changes: 1 addition & 1 deletion post/network_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
$dhcp_range = sanitizeInput($_POST['dhcp_range']);
$notes = sanitizeInput($_POST['notes']);
$location_id = intval($_POST['location']);
$client_id = intval($_POST['client_id']);
$client_id = intval($_POST['client_id']);

0 comments on commit 928d723

Please sign in to comment.