summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorprashantsinalkar2017-01-11 16:54:28 +0530
committerprashantsinalkar2017-01-11 16:54:28 +0530
commitaf0e2cecbbc17eb4faa32571ea3031c0f1f07280 (patch)
treeac56475f157ff1d823a04abc0362cea814a089d4 /pdf
parenta574e3c3719b0cb63e96d1395efeb9b73938f9be (diff)
downloadDWSIM_textbook_companion-af0e2cecbbc17eb4faa32571ea3031c0f1f07280.tar.gz
DWSIM_textbook_companion-af0e2cecbbc17eb4faa32571ea3031c0f1f07280.tar.bz2
DWSIM_textbook_companion-af0e2cecbbc17eb4faa32571ea3031c0f1f07280.zip
fixed issue
Diffstat (limited to 'pdf')
-rwxr-xr-xpdf/generate_pdf.inc5
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();