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
Tags v1.1.1
No related merge requests found
......@@ -19,7 +19,7 @@
var pathArray = s.split('?');
// cut the query if it exists
if (pathArray.length > 0) {
if (pathArray.length > 1) {
sub = pathArray[1];
} else {
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