Skip to content

Commit

Permalink
Fix icon order
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Apr 21, 2022
1 parent d0a567a commit 3250153
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions upload/modules/Tebex/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct($language, $buycraft_language, $pages, $cache){

$name = 'Tebex';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$module_version = '1.1.3';
$module_version = '1.1.4';
$nameless_version = '2.0.0-pr12';

parent::__construct($this, $name, $author, $module_version, $nameless_version);
Expand Down Expand Up @@ -109,11 +109,11 @@ public function onPageLoad($user, $pages, $cache, $smarty, $navs, $widgets, $tem

// Add link to navbar
$cache->setCache('navbar_order');
if(!$cache->isCached('buycraft_order')){
if(!$cache->isCached('tebex_order')){
$buycraft_order = 10;
$cache->store('buycraft_order', 10);
$cache->store('tebex_order', 10);
} else {
$buycraft_order = $cache->retrieve('buycraft_order');
$buycraft_order = $cache->retrieve('tebex_order');
}

$cache->setCache('navbar_icons');
Expand Down

0 comments on commit 3250153

Please sign in to comment.