Skip to content

Commit

Permalink
Fix split not allowed on null
Browse files Browse the repository at this point in the history
Signed-off-by: Tarun Arora <tarun.arora.030402@gmail.com>
  • Loading branch information
Tarun-Arora committed Aug 30, 2023
1 parent 55e3ef1 commit 8a2b150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/regression/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h5>Regression tests</h5>
}
});

query_tags = urlParams.get("tags").split(",");
query_tags = (urlParams.get("tags") || "").split(",");
query_tags.forEach(tagId => {
if(isNaN(parseInt(tagId))) return;
$("#tag").val(tagId);
Expand Down

0 comments on commit 8a2b150

Please sign in to comment.