Fix safe links with wrong access rights
parent
63502abce8
commit
83b318f156
|
@ -317,10 +317,11 @@ define([
|
|||
return void noPadData('NO_RESULT');
|
||||
}
|
||||
// Data found but weaker? warn
|
||||
expire = res.expire;
|
||||
if (edit && !res.href) {
|
||||
newHref = res.roHref;
|
||||
return;
|
||||
}
|
||||
expire = res.expire;
|
||||
// We have good data, keep the hash in memory
|
||||
newHref = edit ? res.href : (res.roHref || res.href);
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue