Fix safe links with wrong access rights

pull/1/head
yflory 4 years ago committed by ansuz
parent 19f3dfa677
commit da31b71482

@ -343,10 +343,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…
Cancel
Save