Skip to content

Commit

Permalink
Fix PHP warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jun 5, 2019
1 parent e4cb295 commit 1ad051e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CustomBlockPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ function getContents($templateMgr, $request = null) {
/**
* @copydoc BlockPlugin::getBlockContext()
*/
function getBlockContext() {
function getBlockContext($contextId = null) {
if (!Config::getVar('general', 'installed')) return BLOCK_CONTEXT_SIDEBAR;
return parent::getBlockContext();
return parent::getBlockContext($contextId);
}

/**
Expand Down

0 comments on commit 1ad051e

Please sign in to comment.