From 25b703e18bc7035246c294a94e630aa39330c6c5 Mon Sep 17 00:00:00 2001 From: ANDI Amine Date: Sun, 30 Apr 2023 08:43:43 +0100 Subject: [PATCH] Fixed - fatal erro [Module tag cloud] --- components/com_joomcck/fields/passwd/tmpl/input/default.php | 4 ++-- modules/mod_joomcck_tagcloud/helper.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/com_joomcck/fields/passwd/tmpl/input/default.php b/components/com_joomcck/fields/passwd/tmpl/input/default.php index e410d5d6..274f3a1c 100644 --- a/components/com_joomcck/fields/passwd/tmpl/input/default.php +++ b/components/com_joomcck/fields/passwd/tmpl/input/default.php @@ -11,9 +11,9 @@ ?> - +
- +
\ No newline at end of file diff --git a/modules/mod_joomcck_tagcloud/helper.php b/modules/mod_joomcck_tagcloud/helper.php index 14af59ad..419b572f 100644 --- a/modules/mod_joomcck_tagcloud/helper.php +++ b/modules/mod_joomcck_tagcloud/helper.php @@ -3,19 +3,19 @@ class modJoomcckTagcloudHelper { - public function getSection($id) + public static function getSection($id) { $model = JModelLegacy::getInstance('Section', 'JoomcckModel'); return $model->getItem($id); } - public function getCategory($id) + public static function getCategory($id) { $model = JModelLegacy::getInstance('Category', 'JoomcckModel'); return $model->getItem($id); } - function getTags($section, $params, $cat_id) + public static function getTags($section, $params, $cat_id) { $db = JFactory::getDBO();