From 2ea9e42170f64e8d7784577197ee08d6a2ce9bfe Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 3 Oct 2024 12:19:54 +1300 Subject: [PATCH] API Update references to API which has been renamed --- code/Forms/UploadField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Forms/UploadField.php b/code/Forms/UploadField.php index 3417880ee..b71cb6b7c 100644 --- a/code/Forms/UploadField.php +++ b/code/Forms/UploadField.php @@ -284,10 +284,10 @@ public function setAllowedMaxFileNumber($count) public function getAttributes() { $attributes = array( - 'class' => $this->extraClass(), + 'class' => $this->getExtraClass(), 'type' => 'file', 'multiple' => $this->getIsMultiUpload(), - 'id' => $this->ID(), + 'id' => $this->getID(), 'data-schema' => json_encode($this->getSchemaData()), 'data-state' => json_encode($this->getSchemaState()), );