Skip to content

Commit eb003e4

Browse files
author
Mario Blazek
committed
Removed commented code from FieldTypeHandler
1 parent 3f04fdd commit eb003e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Form/FieldTypeHandler/EnhancedFile.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,9 @@ protected function buildFieldForm(
9898
$options["constraints"][] = new Constraints\File( $constraints );
9999
}
100100

101-
// Image should not be erased (updated as empty) if nothing is selected in file input
101+
// EnhancedBinaryFile should not be erased (updated as empty) if nothing is selected in file input
102102
$this->skipEmptyUpdate( $formBuilder, $fieldDefinition->identifier );
103103

104-
//$options["block_name"] = "ezforms_image";
105-
106104
$formBuilder->add( $fieldDefinition->identifier, "file", $options );
107105
}
108106
}

0 commit comments

Comments
 (0)