diff options
Diffstat (limited to 'pdf/generate_pdf.inc')
-rwxr-xr-x | pdf/generate_pdf.inc | 5 |
1 files changed, 1 insertions, 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(); |