clean data

This commit is contained in:
CHIEFSOFT\ameye
2023-08-08 20:49:55 -04:00
parent 66d7cffd4d
commit 1cb19e3c15
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -535,9 +535,6 @@ long WrenchRegisterMyFileUpload(CVars in, CVars &out) {
}
}
} catch (bad_parameter) {
out["log_status"] = "Something went wrong";
}
+1
View File
@@ -459,6 +459,7 @@ class WrenchApi extends BaseController
$out = ( new \App\Models\UploadManager() )->reciveUpload($raw_array, $local_out);
$call_backend = $out["call_backend"];
$raw_array["message"] = $out["message"];
$raw_array["file_data"] = $out['file_data'] = $in['file_data'] =""; // no need to carry raw file data anymore - saved or cached ath this point
}
if (isset($_FILES) && is_array($_FILES) && count($_FILES)>0) {
$raw_array = array_merge($_POST,$_FILES);