35
0

Update on v2.0.2 (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:
Robot 2023-10-18 09:28:04 +02:00
parent 7755661f03
commit c740f8e5b5
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
2 changed files with 4 additions and 3 deletions

View File

@ -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 PlgContentComponentbuilderDynamicGetHeadersTabs extends CMSPlugin
// set the field editor value (with none as fallback)
$editors = $form->getXml()->xpath('descendant::fields[@name="dynamic_get_headers"]//field[@type="editor"]');
// check if we found any
if (ComponentbuilderHelper::checkArray($editors))
if (ArrayHelper::check($editors))
{
foreach ($editors as $editor)
{

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="4" group="content" method="upgrade">
<name>PLG_CONTENT_COMPONENTBUILDERDYNAMICGETHEADERSTABS</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>