mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-25 11:53:31 +02:00
tibiacom theme: Fix if gallery table not exist (develop branch)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
use MyAAC\Models\Gallery;
|
||||
|
||||
if(PAGE !== 'news') {
|
||||
if(PAGE !== 'news' || !$db->hasTable(TABLE_PREFIX . 'gallery')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user