mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- Error handling:
* replaced error-suppressions with proper checks * log php errors to db * use __callStatic() to access localization and thus handle erronous keys - Setup: * fixed some erronous filenames when generating icons * increased alpha threshold for spawn maps (should improve spawn points) - disentangled DB::Aowow and DB::World. Aowow should now be able to run with DB::World being on a different server - added missing faction transfer pendants (title/quest/faction/..) - fixed extended costs for specific vendors
This commit is contained in:
@@ -284,8 +284,9 @@ class SpellsPage extends GenericPage
|
||||
['AND', ['s.skillLine1', 0, '>'], ['s.skillLine2OrMask', $this->category[1]]]
|
||||
];
|
||||
|
||||
if ($sf = @$this->shortFilter[$this->category[1]])
|
||||
if (!empty($this->shortFilter[$this->category[1]]))
|
||||
{
|
||||
$sf = $this->shortFilter[$this->category[1]];
|
||||
$txt = '';
|
||||
if ($sf[0] && $sf[1])
|
||||
$txt = sprintf(Lang::$spell['relItems']['crafted'], $sf[0]) . Lang::$spell['relItems']['link'] . sprintf(Lang::$spell['relItems']['recipes'], $sf[1]);
|
||||
@@ -323,8 +324,9 @@ class SpellsPage extends GenericPage
|
||||
{
|
||||
$conditions[] = ['s.skillLine1', $this->category[1]];
|
||||
|
||||
if ($sf = @$this->shortFilter[$this->category[1]])
|
||||
if (!empty($this->shortFilter[$this->category[1]]))
|
||||
{
|
||||
$sf = $this->shortFilter[$this->category[1]];
|
||||
$txt = '';
|
||||
if ($sf[0] && $sf[1])
|
||||
$txt = sprintf(Lang::$spell['relItems']['crafted'], $sf[0]) . Lang::$spell['relItems']['link'] . sprintf(Lang::$spell['relItems']['recipes'], $sf[1]);
|
||||
|
||||
Reference in New Issue
Block a user