From 41607f33dabdc18358529960723d64b977b92bbb Mon Sep 17 00:00:00 2001 From: Markus Hermann Date: Sun, 14 Apr 2019 22:03:22 +0200 Subject: [PATCH] Adapted the new declaration --- CustomBlockPlugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CustomBlockPlugin.inc.php b/CustomBlockPlugin.inc.php index 9549fcd..58706a8 100644 --- a/CustomBlockPlugin.inc.php +++ b/CustomBlockPlugin.inc.php @@ -119,7 +119,7 @@ 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(); }