Skip to content

Commit f2765cd

Browse files
richard67sandewt
andauthored
Apply review suggestion - use getInput method
Co-authored-by: jsanders <[email protected]>
1 parent 865b602 commit f2765cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/mod_banners/src/Helper/BannersHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getBanners(Registry $params, CMSApplication $app)
4242
/** @var BannersModel $model */
4343
$model = $app->bootComponent('com_banners')->getMVCFactory()->createModel('Banners', 'Site', ['ignore_request' => true]);
4444

45-
$input = $app->input;
45+
$input = $app->getInput();
4646
$keywords = [];
4747

4848
// Check if the current view is an article

0 commit comments

Comments
 (0)