From b0edbb79d9343f68e875e9a8018649beb6ab3127 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 24 Apr 2026 21:58:42 +0200 Subject: [PATCH 1/3] Update characters.php --- system/pages/characters.php | 1 - 1 file changed, 1 deletion(-) diff --git a/system/pages/characters.php b/system/pages/characters.php index b88368ff..543afb34 100644 --- a/system/pages/characters.php +++ b/system/pages/characters.php @@ -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'] . '.
'; echo generate_search_form(true); return; From def432d4b77d8d5dd64868841cde921940ac45d9 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 24 Apr 2026 22:09:14 +0200 Subject: [PATCH 2/3] tibiacom theme: Fix if gallery table not exist (develop branch) --- templates/tibiacom/boxes/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tibiacom/boxes/gallery.php b/templates/tibiacom/boxes/gallery.php index cee97d02..e3988668 100644 --- a/templates/tibiacom/boxes/gallery.php +++ b/templates/tibiacom/boxes/gallery.php @@ -2,7 +2,7 @@ use MyAAC\Models\Gallery; -if(PAGE !== 'news') { +if(PAGE !== 'news' || !$db->hasTable(TABLE_PREFIX . 'gallery')) { return; } From 81b8bd8a2cb7605a631dc58c53adc131076c5e38 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 24 Apr 2026 22:12:53 +0200 Subject: [PATCH 3/3] News: Do not cache if logged as admin, so it shows the admin buttons --- system/pages/news.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/pages/news.php b/system/pages/news.php index eb7ccd2f..75bb2951 100644 --- a/system/pages/news.php +++ b/system/pages/news.php @@ -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) {