From 32736f75b4516907ff003e2be66992e8e69d2e3c Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 25 Dec 2018 08:48:41 +0100 Subject: [PATCH] fixed typo. #163 --- app/models/doi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/doi.rb b/app/models/doi.rb index 7248368ef..5c94fa27a 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -693,7 +693,7 @@ def save_metadata def set_defaults self.is_active = (aasm_state == "findable") ? "\x01" : "\x00" self.version = version.present? ? version + 1 : 1 - self.updated = Time.zone.now.utc.iso8601if (url_changed? || xml_changed? || content_url_changed? || minted_changed? || aasm_state_changed? || reason_changed?) + self.updated = Time.zone.now.utc.iso8601 if (url_changed? || xml_changed? || content_url_changed? || minted_changed? || aasm_state_changed? || reason_changed?) end def self.migrate_landing_page(options={})