[PH] spell_group error suppressor

This commit is contained in:
Sarjuuk
2017-05-18 00:56:42 +02:00
parent c61fb787ae
commit 858e5a0492

View File

@@ -685,9 +685,10 @@ class SpellPage extends GenericPage
unset($linkedSpells[$k]);
}
$groups = $linkedSpells + $extraSpells;
// todo (high): fixme - querys have erronous edge-cases (see spell: 13218)
if ($groups = $linkedSpells + $extraSpells)
{
$stacks = new SpellList(array(['s.id', array_keys($groups)]));
if (!$stacks->error)
{
$data = $stacks->getListviewData();
@@ -713,6 +714,7 @@ class SpellPage extends GenericPage
}
}
}
}
// tab: linked with
$rows = DB::World()->select('