Skip to content

Commit

Permalink
3.2.9.8.8 pre-release, fixed incorrect use of substring
Browse files Browse the repository at this point in the history
  • Loading branch information
johnclause committed Apr 11, 2015
1 parent 8325618 commit 5e56bfa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions admin/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ var qTranslateX=function(pg)
if(h.name.lastIndexOf('[]') < 0){
bfnm += h.name.substring(p);
}else{
var len = h.name.length-p-2;
if(len > 0) bfnm += h.name.substring(p,len);
var len = h.name.length-2;
if(len > p) bfnm += h.name.substring(p,len);
sfnm = '[]';
}
}
Expand Down
Loading

0 comments on commit 5e56bfa

Please sign in to comment.