Skip to content

Commit

Permalink
Ticket #1070 - Files module.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Jan 23, 2018
1 parent a3f5463 commit c1e2600
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/boonex/files/classes/BxFilesFormsEntryHelper.php
Expand Up @@ -19,9 +19,12 @@ public function __construct($oModule)
parent::__construct($oModule);
}

public function getObjectFormAdd ()
public function getObjectFormAdd ($sDisplay = false)
{
return BxDolForm::getObjectInstance('bx_files_upload', 'bx_files_entry_upload', $this->_oModule->_oTemplate);
if (false === $sDisplay)
$sDisplay = 'bx_files_entry_upload';

return BxDolForm::getObjectInstance('bx_files_upload', $sDisplay, $this->_oModule->_oTemplate);
}

public function addDataForm ($sDisplay = false, $sCheckFunction = false)
Expand Down

0 comments on commit c1e2600

Please sign in to comment.