diff --git a/Manager/UploaderManager.php b/Manager/UploaderManager.php index 18b9200..2485187 100644 --- a/Manager/UploaderManager.php +++ b/Manager/UploaderManager.php @@ -299,7 +299,7 @@ public function handleUpload($entity, $requestId=null, $options = array()) foreach ($data as $property) { $context = $property['mapping']; - $mediaEntities = $entity->$property['nameGetFunction'](); + $mediaEntities = $entity->{$property['nameGetFunction']}(); $this->removeMarkedMedia($context, $requestId); $this->renameMarkedMedia($context, $requestId);