Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoLopesPT committed Jul 24, 2017
1 parent 24cc922 commit a32ce7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion administrator/components/com_installer/Model/Downloadkey.php
Expand Up @@ -72,11 +72,13 @@ protected function loadFormData()
/**
* Method to get an array of data items.
*
* @param integer $pk The id of the primary key.
*
* @return mixed An array of data items on success, false on failure.
*
* @since __DEPLOY_VERSION__
*/
public function getItem()
public function getItem($pk = null)
{
$data = parent::getItem();

Expand Down
2 changes: 1 addition & 1 deletion libraries/src/CMS/Toolbar/ToolbarHelper.php
Expand Up @@ -752,7 +752,7 @@ public static function downloadkey($alt, $extensionId)
'download_key_modal',
array(
'title' => 'Download key modal',
'bodyHeight' => '40',
'bodyHeight' => '45',
'modalWidth' => '80',
'footer' => '<a role="button" class="btn btn-secondary" aria-hidden="true"'
. ' data-dismiss="modal">'
Expand Down

0 comments on commit a32ce7a

Please sign in to comment.