From 8f6292dc5420e1e827dd4e4b3f503893061462ea Mon Sep 17 00:00:00 2001 From: Christian Heel <66922325+heelc29@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:30:50 +0200 Subject: [PATCH] [5.2] replace deprecated access of input property (#44195) --- .../com_guidedtours/src/Controller/AjaxController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/administrator/components/com_guidedtours/src/Controller/AjaxController.php b/administrator/components/com_guidedtours/src/Controller/AjaxController.php index 2e6b4416f6318..5e87035e85226 100644 --- a/administrator/components/com_guidedtours/src/Controller/AjaxController.php +++ b/administrator/components/com_guidedtours/src/Controller/AjaxController.php @@ -37,9 +37,9 @@ public function fetchUserState() { $user = $this->app->getIdentity(); - $tourId = $this->app->input->getInt('tid', 0); - $stepNumber = $this->app->input->getInt('sid', 0); - $context = $this->app->input->getString('context', ''); + $tourId = $this->app->getInput()->getInt('tid', 0); + $stepNumber = $this->app->getInput()->getInt('sid', 0); + $context = $this->app->getInput()->getString('context', ''); if ($user == null || $user->id <= 0) { echo new JsonResponse(['success' => false, 'tourId' => $tourId], Text::_('COM_GUIDEDTOURS_USERSTATE_CONNECTEDONLY'), true);