From ff690770b5f0b5951b2c1b4c466d5e8253412797 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sat, 4 Oct 2025 00:15:38 +0200 Subject: [PATCH] Misc/Fixup * type error when declaring listview --- endpoints/npc/npc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/npc/npc.php b/endpoints/npc/npc.php index 25e7cf72..72f4500e 100644 --- a/endpoints/npc/npc.php +++ b/endpoints/npc/npc.php @@ -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]]);