From 91bbcdc7491d75c65c929685224929823e32319b Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 4 May 2023 19:02:08 +0200 Subject: [PATCH] Update multiple.php --- admin/libraries/phocacart/category/multiple.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/libraries/phocacart/category/multiple.php b/admin/libraries/phocacart/category/multiple.php index fa5c7139..1faed0bf 100644 --- a/admin/libraries/phocacart/category/multiple.php +++ b/admin/libraries/phocacart/category/multiple.php @@ -12,6 +12,10 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +if (!class_exists('PhocaCartLoader')) { + require_once( JPATH_ADMINISTRATOR.'/components/com_phocacart/libraries/loader.php'); +} +JLoader::registerPrefix('Phocacart', JPATH_ADMINISTRATOR . '/components/com_phocacart/libraries/phocacart'); phocacartimport('phocacart.category.category'); class PhocacartCategoryMultiple