Use correct $autoPublish variable in __contruct() (#171)

This commit is contained in:
Ralph Slooten 2018-03-07 01:08:09 +13:00 committed by Thierry François
parent de2d3234f4
commit 070d47f487

View File

@ -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);