From def432d4b77d8d5dd64868841cde921940ac45d9 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 24 Apr 2026 22:09:14 +0200 Subject: [PATCH] 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; }