Fix upstream controller method compatibility

This commit is contained in:
Selamanse
2022-11-20 10:33:29 +01:00
parent 472a19b0cc
commit 6b6d5ba89f
@@ -12,13 +12,13 @@ jimport('joomla.application.component.controller');
*/ */
class SportsManagerController extends JControllerLegacy class SportsManagerController extends JControllerLegacy
{ {
function display() public function display($cachable = false, $urlparams = false)
{ {
// Setzt einen Standard view // Setzt einen Standard view
if ( ! JRequest::getCmd( 'view' ) ) { if ( ! JRequest::getCmd( 'view' ) ) {
JRequest::setVar('view', 'categories' ); JRequest::setVar('view', 'categories' );
} }
parent::display(); return parent::display($cachable, $urlparams);
} }
} }