Skip to content

Commit

Permalink
Fixed - fatal erro [Module tag cloud]
Browse files Browse the repository at this point in the history
  • Loading branch information
andiamine committed Apr 30, 2023
1 parent 7a60524 commit 25b703e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/com_joomcck/fields/passwd/tmpl/input/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

?>

<input type="password" name="jform[fields][<?php echo $this->id; ?>]" value="<?php echo $this->encrypt; ?>" autocomplete="off"/>
<input class="form-control" type="password" name="jform[fields][<?php echo $this->id; ?>]" value="<?php echo $this->encrypt; ?>" autocomplete="off"/>

<!-- Hack for Chrome autocomplete. -->
<div style="display: none;">
<input type="text" id="PreventChromeAutocomplete" name="PreventChromeAutocomplete" autocomplete="address-level4"/>
<input type="text" id="PreventChromeAutocomplete" name="PreventChromeAutocomplete" autocomplete="address-level4"/>
</div>
6 changes: 3 additions & 3 deletions modules/mod_joomcck_tagcloud/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 25b703e

Please sign in to comment.