Skip to content

Commit

Permalink
fix null check
Browse files Browse the repository at this point in the history
  • Loading branch information
addelany committed May 13, 2024
1 parent 99823df commit 516ff74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build_publication_items.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

build_publication_items <- function(var_citation, var_doi){

if (is.null(var_citation) ! is.null(var_doi)){
if (is.null(var_citation) | is.null(var_doi)){
return(NULL)
}else{
doi_list <- c(catalog_config$citation_doi)
Expand Down

0 comments on commit 516ff74

Please sign in to comment.