This commit is contained in:
CHIEFSOFT\ameye
2025-07-11 20:46:35 -04:00
parent 55b5508370
commit 7860e6de8c
3 changed files with 1 additions and 18 deletions
+1 -1
View File
@@ -617,7 +617,7 @@ class WrenchApi extends BaseController
//$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 (is_array($raw_array) && array_key_exists("file_data", $raw_array)) unset($raw_array["file_data"]);
if (is_array($out) && array_key_exists("file_data", $out)) unset($out["file_data"]);
if (is_array($int) && array_key_exists("file_data", $in)) unset($in["file_data"]);
if (is_array($in) && array_key_exists("file_data", $in)) unset($in["file_data"]);
} catch (Exception $e) {
$error = 'Caught exception: '. $e->getMessage();
log_message('critical', "ERROR ENDPOINT TESTING UPLOAD-> ".$error );