Update on v2.0.1 (beta for next version)
Here's an update on the current version, which includes changes towards the next release still in beta.
This commit is contained in:
parent
ecd49e5cec
commit
3a0cf61489
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\Form\Form;
|
||||
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 PlgContentComponentbuilderSiteHeadersTabs extends CMSPlugin
|
||||
// set the field editor value (with none as fallback)
|
||||
$editors = $form->getXml()->xpath('descendant::fields[@name="site_view_headers"]//field[@type="editor"]');
|
||||
// check if we found any
|
||||
if (ComponentbuilderHelper::checkArray($editors))
|
||||
if (ArrayHelper::check($editors))
|
||||
{
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="plugin" version="4" group="content" method="upgrade">
|
||||
<name>PLG_CONTENT_COMPONENTBUILDERSITEHEADERSTABS</name>
|
||||
<creationDate>2nd May, 2023</creationDate>
|
||||
<creationDate>18th October, 2023</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user