This commit is contained in:
johnnyq 2023-03-01 11:07:56 -05:00
parent b2deebfa42
commit b7c855a67d
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ if(isset($_POST['edit_company'])){
validateAdminRole();
$company_id = intval($_POST['company_id']);
$existing_file_name = sanitizeInputI($mysqli,$_POST['existing_file_name']);
$existing_file_name = sanitizeInput($_POST['existing_file_name']);
if(!file_exists("uploads/settings/$company_id/")) {
mkdir("uploads/settings/$company_id");