Skip to content
Snippets Groups Projects
Verified Commit a950ceb0 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

fix path array length

parent 062c5ea3
No related branches found
No related tags found
No related merge requests found
Pipeline #15760 passed
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
var pathArray = s.split('?'); var pathArray = s.split('?');
// cut the query if it exists // cut the query if it exists
if (pathArray.length > 0) { if (pathArray.length > 1) {
sub = pathArray[1]; sub = pathArray[1];
} else { } else {
sub = ''; sub = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment