diff --git a/code/GridFieldBulkImageUpload_Request.php b/code/GridFieldBulkImageUpload_Request.php index fb423ea..26a6eff 100644 --- a/code/GridFieldBulkImageUpload_Request.php +++ b/code/GridFieldBulkImageUpload_Request.php @@ -105,7 +105,7 @@ class GridFieldBulkImageUpload_Request extends RequestHandler { function getDefaultRecordImageField() { $recordClass = $this->gridField->list->dataClass; - $recordHasOneFields = Config::inst()->get($recordClass, 'has_one', Config::UNINHERITED); + $recordHasOneFields = Config::inst()->get($recordClass, 'has_one', Config::INHERITED); $imageField = null; foreach( $recordHasOneFields as $field => $type )