Misc/Fixup

* type error when declaring listview
This commit is contained in:
Sarjuuk
2025-10-04 00:15:38 +02:00
parent 6263ccd92a
commit ff690770b5

View File

@@ -533,7 +533,7 @@ class NpcBaseResponse extends TemplateResponse implements ICache
$soldItems = new ItemList(array(['id', $sells]));
if (!$soldItems->error)
{
$colAddIn = null;
$colAddIn = '';
$extraCols = ["\$Listview.funcBox.createSimpleCol('stack', 'stack', '10%', 'stack')", '$Listview.extraCols.cost'];
$lvData = $soldItems->getListviewData(ITEMINFO_VENDOR, [Type::NPC => [$this->typeId]]);