Verified Commit a950ceb0 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

fix path array length

parent 062c5ea3
Pipeline #15760 passed with stage
in 1 minute and 15 seconds
...@@ -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 = '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment