Fixing style errors.

This commit is contained in:
stickler-ci 2023-02-16 11:04:59 +00:00
parent b9e3cd9812
commit 2f1afba116

View File

@ -83,7 +83,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (file_exists($upload_dir.'/'.$flowFilename)) {
echo json_encode('File '.$flowIdentifier.' was already uploaded');
header("HTTP/1.0 200 Ok");
} else if (!empty($_FILES)) foreach ($_FILES as $file) {
} elseif (!empty($_FILES)) foreach ($_FILES as $file) {
// check the error status
if ($file['error'] != 0) {
dol_syslog('error '.$file['error'].' in file '.$flowFilename);