fix for citation search in case that the citation is very fresh

pull/1/head
orbiter 12 years ago
parent 57dcf68665
commit c8e94ad7c7

@ -87,6 +87,10 @@ public class citation {
}
if (uri == null && hash.length() > 0) {
uri = sb.getURL(ASCII.getBytes(hash));
if (uri == null) {
connector.commit(true); // try again, that url can be fresh
uri = sb.getURL(ASCII.getBytes(hash));
}
}
if (uri == null) return prop; // no proper url addressed
url = uri.toNormalform(true);

Loading…
Cancel
Save