diff --git a/componentbuilderprivacytabs.php b/componentbuilderprivacytabs.php index 98251c7..9a44094 100644 --- a/componentbuilderprivacytabs.php +++ b/componentbuilderprivacytabs.php @@ -15,7 +15,9 @@ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Application\CMSApplication; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\Registry\Registry; -use Joomla\CMS\Form\Form; +use Joomla\CMS\Form\Form; +use VDM\Joomla\Utilities\JsonHelper; +use VDM\Joomla\Utilities\ArrayHelper; JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php'); @@ -91,7 +93,7 @@ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin if ('com_componentbuilder.admin_view' === $context) { // check if this is json - if (ComponentbuilderHelper::checkJson($item->params)) + if (JsonHelper::check($item->params)) { // Convert the params field to an array. $registry = new Registry; @@ -116,7 +118,7 @@ class PlgContentComponentbuilderPrivacyTabs extends CMSPlugin $this->cleanCache('com_plugins', 1); } // check if this is an array - if (ComponentbuilderHelper::checkArray($item->params)) + if (ArrayHelper::check($item->params)) { // Convert the params field to a string. $params = new JRegistry; diff --git a/componentbuilderprivacytabs.xml b/componentbuilderprivacytabs.xml index e8a109b..ffda7e3 100644 --- a/componentbuilderprivacytabs.xml +++ b/componentbuilderprivacytabs.xml @@ -1,7 +1,7 @@ PLG_CONTENT_COMPONENTBUILDERPRIVACYTABS - 2nd May, 2023 + 18th October, 2023 Llewellyn van der Merwe joomla@vdm.io https://dev.vdm.io