mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
PHP/Compat
* fixed misc issues Intellisense was nice enough to highlight. * mostly deprecated usage of uninitialized parameters * class GenericPage still needs a long, hard look and a refactor
This commit is contained in:
@@ -10,6 +10,8 @@ class NpcsPage extends GenericPage
|
||||
{
|
||||
use TrListPage;
|
||||
|
||||
protected $petFamPanel = false;
|
||||
|
||||
protected $type = Type::NPC;
|
||||
protected $tpl = 'npcs';
|
||||
protected $path = [0, 4];
|
||||
@@ -45,8 +47,6 @@ class NpcsPage extends GenericPage
|
||||
$conditions[] = ['type', $this->category[0]];
|
||||
$this->petFamPanel = $this->category[0] == 1;
|
||||
}
|
||||
else
|
||||
$this->petFamPanel = false;
|
||||
|
||||
if ($_ = $this->filterObj->getConditions())
|
||||
$conditions[] = $_;
|
||||
|
||||
Reference in New Issue
Block a user