Prevent extra '/' from being added to url if app is not defined
This commit is contained in:
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…
Reference in New Issue