Browse files

Update ImageGalleryAlbum.php

ImageID should just be image as per a change in the GridFieldBulkEditingTools module. 

colymba/GridFieldBulkEditingTools@6a105b9
  • Loading branch information...
1 parent f3557fd commit e50c77a12d197f07b48946a5d0f980b90dbaf7d0 @LiamW LiamW committed Nov 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/ImageGalleryAlbum.php
View
2 code/ImageGalleryAlbum.php
@@ -53,7 +53,7 @@ public function getCMSFields() {
$galleryConfig->addComponent(new GridFieldBulkManager());
}
if(class_exists('GridFieldBulkImageUpload')) {
- $galleryConfig->addComponents($imageConfig = new GridFieldBulkImageUpload('ImageID'));
+ $galleryConfig->addComponents($imageConfig = new GridFieldBulkImageUpload('Image'));
$imageConfig->setConfig('fieldsClassBlacklist', array('ImageField', 'UploadField', 'FileField'));
if($uploadFolder = $this->Folder()) {
// Set upload folder - Clean up 'assets' from target path

0 comments on commit e50c77a

Please sign in to comment.