From e8bc37f82f419187c816eff8b5b24176f1fdd1dd Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Mon, 27 Oct 2025 01:09:21 +0100 Subject: [PATCH] Filter/NPC * fix react filter * remove excess colons --- includes/dbtypes/creature.class.php | 4 ++-- template/pages/areatriggers.tpl.php | 2 +- template/pages/npcs.tpl.php | 16 ++++++++-------- template/pages/quests.tpl.php | 6 +++--- template/pages/sounds.tpl.php | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/includes/dbtypes/creature.class.php b/includes/dbtypes/creature.class.php index 5eb4edd8..bd92c9ec 100644 --- a/includes/dbtypes/creature.class.php +++ b/includes/dbtypes/creature.class.php @@ -376,11 +376,11 @@ class CreatureListFilter extends Filter $parts[] = ['rank', $_v['cl']]; // react Alliance [int] - if ($_v['ra']) + if (!is_null($_v['ra'])) $parts[] = ['ft.A', $_v['ra']]; // react Horde [int] - if ($_v['rh']) + if (!is_null($_v['rh'])) $parts[] = ['ft.H', $_v['rh']]; return $parts; diff --git a/template/pages/areatriggers.tpl.php b/template/pages/areatriggers.tpl.php index 3f187918..e9d574a3 100644 --- a/template/pages/areatriggers.tpl.php +++ b/template/pages/areatriggers.tpl.php @@ -26,7 +26,7 @@ $this->brick('redButtons');

h1; ?>

-
+
> +   - > - - - + + + diff --git a/template/pages/quests.tpl.php b/template/pages/quests.tpl.php index e7de3d19..427e5aaa 100644 --- a/template/pages/quests.tpl.php +++ b/template/pages/quests.tpl.php @@ -26,7 +26,7 @@ $this->brick('redButtons');

h1; ?>

-
+
/> - /> - +
        /> - />
- +