Commit 72046a82 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Save.php: Replaced some constants against defines

parent b89b3057
......@@ -317,7 +317,7 @@ class Save {
foreach ($this->feSpecNative AS $formElement) {
// skip non upload formElements
if ($formElement[FE_TYPE] != 'upload') {
if ($formElement[FE_TYPE] != FE_TYPE_UPLOAD) {
continue;
}
......@@ -329,7 +329,7 @@ class Save {
// Preparation for Log, Debug
$this->store->setVar(SYSTEM_FORM_ELEMENT, Logger::formatFormElementName($formElement), STORE_SYSTEM);
$column = $formElement['name'];
$column = $formElement[FE_NAME];
$pathFileName = $this->doUpload($formElement, $formValues[$column], $sip, $modeUpload);
// Upload Type: Simple or Advanced
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment