From af0e2cecbbc17eb4faa32571ea3031c0f1f07280 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 11 Jan 2017 16:54:28 +0530 Subject: fixed issue --- pdf/generate_pdf.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc index f01c2e0..01694f4 100755 --- a/pdf/generate_pdf.inc +++ b/pdf/generate_pdf.inc @@ -99,10 +99,7 @@ function generate_pdf() $UniqueString = ""; $tempDir = $path . "/pdf/temp_prcode/"; $query = db_select('textbook_companion_qr_code'); - $query->fields('textbook_companion_qr_code', array( - 'qr_code', - 'proposal_id' - )); + $query->fields('textbook_companion_qr_code'); $query->condition('proposal_id', $proposal_id); $result = $query->execute(); $data = $result->fetchObject(); -- cgit