Fix bug with saving search history
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user