summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-18 13:17:16 +0100
committerspag <spag@golwen.net>2013-02-18 13:17:16 +0100
commite0bd56db83104a2a38e88af2eadaefd389aa798b (patch)
treedb591177368c5a3e64282fd2c8c6dc08e00711d8 /app
parent24208a654fe65a2016244f0ebb99af66ed0bd8d7 (diff)
result fixed
Diffstat (limited to 'app')
-rw-r--r--app/controllers/trigger_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/trigger_controller.rb b/app/controllers/trigger_controller.rb
index 7840498..136c3d0 100644
--- a/app/controllers/trigger_controller.rb
+++ b/app/controllers/trigger_controller.rb
@@ -65,7 +65,7 @@ class TriggerController < ApplicationController
if fax_account
fax_account.fax_documents.where(:state => 'received').each do |fax_document|
- pdf_file, tiff_file = fax_document.tiff_to_pdf.blank?
+ pdf_file, tiff_file = fax_document.tiff_to_pdf
if !pdf_file
fax_document.state = 'unsuccessful'