Merge pull request #3328 from jameswadsworth/jameswadsworth-patch-1

Fix installation error in Joomla 5
This commit is contained in:
monikat12titans
2025-07-23 13:49:00 +05:30
committed by GitHub
+2 -1
View File
@@ -10,6 +10,7 @@
*/
defined('_JEXEC') or die;
use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Installer\InstallerAdapter;
use Joomla\CMS\Factory;
@@ -204,7 +205,7 @@ class Pkg_Gantry5InstallerScript
$clientName = (string) $attributes->client;
if (!empty($clientName)) {
$client = JApplicationHelper::getClientInfo($clientName, true);
$client = ApplicationHelper::getClientInfo($clientName, true);
$search += array('client_id' => $client->id);
}