Skip to content

Commit e58041f

Browse files
committed
Add missing assignment on URL processing (RPB-259)
1 parent e800f3a commit e58041f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/AuthorityResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ else if (value.startsWith("http")) {
473473
String url = value;
474474
String rest = "";
475475
if (value.contains(" ")) {
476-
value.substring(0, value.indexOf(' '));
476+
url = value.substring(0, value.indexOf(' '));
477477
rest = value.substring(value.indexOf(' ') + 1, value.length());
478478
}
479479
List<String> facets = Arrays.asList(HomeController.AGGREGATIONS);

0 commit comments

Comments
 (0)