Fix bug with saving search history

This commit is contained in:
Brahim Hadriche committed 2025-03-30 09:59:58 -04:00
1 parent e08bc86334
commit ae83c47bfe
2 files changed
+8 -1

No files matched your search

@@ -54,7 +54,13 @@ namespace SearchHistoryUtils
if history = invalid
return []
end if
return ParseJson(history)
history = ParseJson(history)
if not IsArray(history)
return []
end if
return history
end function
function Clear()