Change the access right in DoiBoost #126

Merged
claudio.atzori merged 19 commits from doiboosi_accessright into beta 2021-07-28 11:29:15 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 09ad7b2a9e - Show all commits

View File

@ -26,7 +26,7 @@ object UnpayWallToOAF {
def get_unpaywall_color(input:String):Option[OpenAccessRoute] = {
if(input.equalsIgnoreCase("close"))
if(input == null || input.equalsIgnoreCase("close"))
return None
if(input.equalsIgnoreCase("green"))
return Some(OpenAccessRoute.green)