Prevent extra '/' from being added to url if app is not defined

remotes/origin/stable4
Michael Gapczynski 12 years ago
parent da4688d804
commit 52d113b9e1

@ -70,11 +70,13 @@ OC={
link+=file;
}else{
link+='/';
app+='/';
if(!isCore){
link+='apps/';
}
link+=app;
if (app != '') {
app+='/';
link+=app;
}
if(type){
link+=type+'/';
}

Loading…
Cancel
Save