Merge branch 'main' into develop

This commit is contained in:
slawkens
2026-04-24 22:18:01 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,6 @@ if(isset($_REQUEST['name']))
if(empty($name))
{
$tmp_link = getPlayerLink($name);
echo 'Here you can get detailed information about a certain player on ' . $config['lua']['serverName'] . '.<br/>';
echo generate_search_form(true);
return;

View File

@@ -108,8 +108,9 @@ $title = 'Latest News';
$cache = Cache::getInstance();
$news_cached = false;
if($cache->enabled())
if($cache->enabled() && !admin()) {
$news_cached = News::getCached(NEWS);
}
if(!$news_cached)
{