Modified: trunk/app/controllers/workflows_controller.rb (3137 => 3138)
--- trunk/app/controllers/workflows_controller.rb 2012-09-26 11:02:48 UTC (rev 3137)
+++ trunk/app/controllers/workflows_controller.rb 2012-09-27 14:01:57 UTC (rev 3138)
@@ -988,8 +988,8 @@
# Rewind the file, just in case
file.rewind
- workflow_to_set.title = processor_instance.get_title
- workflow_to_set.body = processor_instance.get_description
+ workflow_to_set.title = processor_instance.get_title if processor_instance.get_title
+ workflow_to_set.body = processor_instance.get_description if processor_instance.get_description
workflow_to_set.content_type = ContentType.find_by_title(processor_class.display_name)