Skip to content

Commit

Permalink
Merge pull request lagotto#366 from mfenner/master
Browse files Browse the repository at this point in the history
fixed invisible whitespace. lagotto#363.
  • Loading branch information
Martin Fenner committed Jul 8, 2015
2 parents cd43397 + 4abd871 commit 87d7154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/pmc_job.rb
Expand Up @@ -3,7 +3,7 @@ class PmcJob < ActiveJob::Base

def perform(publisher_id, month, year, journal, options={})
source = Source.visible.where(name: "pmc").first
return nil if publisher_id.nil? || month.nil? || year.nil? || journal.nil? || source.nil?
return nil if publisher_id.nil? || month.nil? || year.nil? || journal.nil? || source.nil?

dates = source.date_range(month: month, year: year)
# we have to do this sequentally, as we are updating a single CouchDB document for a work for every month
Expand Down

0 comments on commit 87d7154

Please sign in to comment.