diff options
author | prashantsinalkar | 2017-01-11 16:54:28 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-01-11 16:54:28 +0530 |
commit | af0e2cecbbc17eb4faa32571ea3031c0f1f07280 (patch) | |
tree | ac56475f157ff1d823a04abc0362cea814a089d4 /pdf | |
parent | a574e3c3719b0cb63e96d1395efeb9b73938f9be (diff) | |
download | DWSIM_textbook_companion-af0e2cecbbc17eb4faa32571ea3031c0f1f07280.tar.gz DWSIM_textbook_companion-af0e2cecbbc17eb4faa32571ea3031c0f1f07280.tar.bz2 DWSIM_textbook_companion-af0e2cecbbc17eb4faa32571ea3031c0f1f07280.zip |
fixed issue
Diffstat (limited to 'pdf')
-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(); |