Skip to content

Commit b67e9c9

Browse files
committed
[5.2] replace deprecated access of input property
1 parent 4b41186 commit b67e9c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

administrator/components/com_guidedtours/src/Controller/AjaxController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public function fetchUserState()
3737
{
3838
$user = $this->app->getIdentity();
3939

40-
$tourId = $this->app->input->getInt('tid', 0);
41-
$stepNumber = $this->app->input->getInt('sid', 0);
42-
$context = $this->app->input->getString('context', '');
40+
$tourId = $this->app->getInput()->getInt('tid', 0);
41+
$stepNumber = $this->app->getInput()->getInt('sid', 0);
42+
$context = $this->app->getInput()->getString('context', '');
4343

4444
if ($user == null || $user->id <= 0) {
4545
echo new JsonResponse(['success' => false, 'tourId' => $tourId], Text::_('COM_GUIDEDTOURS_USERSTATE_CONNECTEDONLY'), true);

0 commit comments

Comments
 (0)