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

fix path array length

parent 062c5ea3
......@@ -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 = '';
......
Supports Markdown
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