Skip to content

Commit

Permalink
Fix menu icon saving
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Apr 17, 2022
1 parent d8d5cc3 commit add22ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/modules/Tebex/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ public function onPageLoad($user, $pages, $cache, $smarty, $navs, $widgets, $tem
}

$cache->setCache('navbar_icons');
if(!$cache->isCached('buycraft_icon'))
if(!$cache->isCached('tebex_icon'))
$icon = '';
else
$icon = $cache->retrieve('buycraft_icon');
$icon = $cache->retrieve('tebex_icon');

$cache->setCache('buycraft_settings');
if($cache->isCached('navbar_position'))
Expand Down

0 comments on commit add22ef

Please sign in to comment.