mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixup
* type error when declaring listview
This commit is contained in:
@@ -533,7 +533,7 @@ class NpcBaseResponse extends TemplateResponse implements ICache
|
|||||||
$soldItems = new ItemList(array(['id', $sells]));
|
$soldItems = new ItemList(array(['id', $sells]));
|
||||||
if (!$soldItems->error)
|
if (!$soldItems->error)
|
||||||
{
|
{
|
||||||
$colAddIn = null;
|
$colAddIn = '';
|
||||||
$extraCols = ["\$Listview.funcBox.createSimpleCol('stack', 'stack', '10%', 'stack')", '$Listview.extraCols.cost'];
|
$extraCols = ["\$Listview.funcBox.createSimpleCol('stack', 'stack', '10%', 'stack')", '$Listview.extraCols.cost'];
|
||||||
|
|
||||||
$lvData = $soldItems->getListviewData(ITEMINFO_VENDOR, [Type::NPC => [$this->typeId]]);
|
$lvData = $soldItems->getListviewData(ITEMINFO_VENDOR, [Type::NPC => [$this->typeId]]);
|
||||||
|
|||||||
Reference in New Issue
Block a user