diff --git a/code/Forms/UploadField.php b/code/Forms/UploadField.php index 3417880ee..b5fbc0143 100644 --- a/code/Forms/UploadField.php +++ b/code/Forms/UploadField.php @@ -284,7 +284,7 @@ public function setAllowedMaxFileNumber($count) public function getAttributes() { $attributes = array( - 'class' => $this->extraClass(), + 'class' => $this->getExtraClass(), 'type' => 'file', 'multiple' => $this->getIsMultiUpload(), 'id' => $this->ID(),