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; }