mirror of https://github.com/itflow-org/itflow
Fix #639
This commit is contained in:
parent
b2deebfa42
commit
b7c855a67d
2
post.php
2
post.php
|
|
@ -475,7 +475,7 @@ if(isset($_POST['edit_company'])){
|
||||||
validateAdminRole();
|
validateAdminRole();
|
||||||
|
|
||||||
$company_id = intval($_POST['company_id']);
|
$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/")) {
|
if(!file_exists("uploads/settings/$company_id/")) {
|
||||||
mkdir("uploads/settings/$company_id");
|
mkdir("uploads/settings/$company_id");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue