mirror of
https://github.com/gantry/gantry5.git
synced 2026-08-18 17:04:53 -05:00
Merge pull request #3328 from jameswadsworth/jameswadsworth-patch-1
Fix installation error in Joomla 5
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user