mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
More enforcing user permissions
This commit is contained in:
@@ -8,7 +8,7 @@ if(isset($_POST['add_location'])){
|
||||
|
||||
validateTechRole();
|
||||
|
||||
require_once 'post/client_locations_model.php';
|
||||
require_once 'post/location_model.php';
|
||||
|
||||
|
||||
if(!file_exists("uploads/clients/$client_id")) {
|
||||
@@ -67,7 +67,7 @@ if(isset($_POST['edit_location'])){
|
||||
|
||||
validateTechRole();
|
||||
|
||||
require_once 'post/client_locations_model.php';
|
||||
require_once 'post/location_model.php';
|
||||
|
||||
|
||||
$location_id = intval($_POST['location_id']);
|
||||
|
||||
Reference in New Issue
Block a user