diff --git a/componentbuildercomponentdashboardheaderstabs.php b/componentbuildercomponentdashboardheaderstabs.php index 5cb4261..3c5a2bd 100644 --- a/componentbuildercomponentdashboardheaderstabs.php +++ b/componentbuildercomponentdashboardheaderstabs.php @@ -13,7 +13,8 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Form\Form; -use Joomla\CMS\Plugin\CMSPlugin; +use Joomla\CMS\Plugin\CMSPlugin; +use VDM\Joomla\Utilities\ArrayHelper; JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php'); @@ -60,7 +61,7 @@ class PlgContentComponentbuilderComponentDashboardHeadersTabs extends CMSPlugin // set the field editor value (with none as fallback) $editors = $form->getXml()->xpath('descendant::fields[@name="component_dashboard_headers"]//field[@type="editor"]'); // check if we found any - if (ComponentbuilderHelper::checkArray($editors)) + if (ArrayHelper::check($editors)) { foreach ($editors as $editor) { diff --git a/componentbuildercomponentdashboardheaderstabs.xml b/componentbuildercomponentdashboardheaderstabs.xml index 1c7655b..b0feb4d 100644 --- a/componentbuildercomponentdashboardheaderstabs.xml +++ b/componentbuildercomponentdashboardheaderstabs.xml @@ -1,7 +1,7 @@ PLG_CONTENT_COMPONENTBUILDERCOMPONENTDASHBOARDHEADERSTABS - 2nd May, 2023 + 18th October, 2023 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io