From 5403ed81ce5392dfd52a7053d11bade71fbd8d78 Mon Sep 17 00:00:00 2001 From: James Cocker Date: Tue, 10 Jun 2014 14:25:56 +0100 Subject: [PATCH] GridFieldBulkUpoad: Corrected config value check defaults for canAttachExisting and canPreviewFolder --- bulkUpload/code/GridFieldBulkUpload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bulkUpload/code/GridFieldBulkUpload.php b/bulkUpload/code/GridFieldBulkUpload.php index 99a3d66..6d713ef 100644 --- a/bulkUpload/code/GridFieldBulkUpload.php +++ b/bulkUpload/code/GridFieldBulkUpload.php @@ -74,13 +74,13 @@ class GridFieldBulkUpload implements GridField_HTMLProvider, GridField_URLHandle //canAttachExisting true/false if ( $reference == 'canAttachExisting' && !is_bool($value) ) { - $value = false; + $value = true; } //canPreviewFolder true/false if ( $reference == 'canPreviewFolder' && !is_bool($value) ) { - $value = false; + $value = true; } $this->config[$reference] = $value;