From 887cf6331e74ebff9adf5a655c999b3b574e2aba Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Mon, 6 Apr 2026 21:59:25 +0200 Subject: [PATCH] there --- server/tx_search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tx_search.js b/server/tx_search.js index aa59db8..d14e5b6 100644 --- a/server/tx_search.js +++ b/server/tx_search.js @@ -219,7 +219,7 @@ async function fetchTx(freq, piCode, rdsPs) { const key = `${freq}|${piCode.toUpperCase()}`; var rawMatches = piFreqIndex[key] || []; - rawMatches = [...storage.tx_search_hook[key], ...rawMatches]; + rawMatches = [...(storage.tx_search_hook[key] || []), ...rawMatches]; // Format the results into the same structure as before let filteredLocations = rawMatches.map(({ station, ...locData }) => ({