mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Use correct $autoPublish variable in __contruct() (#171)
This commit is contained in:
parent
de2d3234f4
commit
070d47f487
@ -91,7 +91,7 @@ class BulkUploader implements GridField_HTMLProvider, GridField_URLHandler
|
||||
* @param string $fileRelationName
|
||||
* @param string $recordClassName
|
||||
*/
|
||||
public function __construct($fileRelationName = null, $recordClassName = null, $autoPublishDataObject = false)
|
||||
public function __construct($fileRelationName = null, $recordClassName = null, $autoPublish = false)
|
||||
{
|
||||
if ($fileRelationName != null) {
|
||||
$this->setConfig('fileRelationName', $fileRelationName);
|
||||
@ -142,7 +142,7 @@ class BulkUploader implements GridField_HTMLProvider, GridField_URLHandler
|
||||
public function getAutoPublishDataObject()
|
||||
{
|
||||
return $this->autoPublishDataObject;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set an UploadField configuration parameter.
|
||||
|
Loading…
Reference in New Issue
Block a user