mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
GridFieldBulkUpoad: Corrected config value check defaults for canAttachExisting and canPreviewFolder
This commit is contained in:
parent
770e5a4231
commit
5403ed81ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user