summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202018-07-03 10:10:24 +0530
committerSashi202018-07-03 10:10:24 +0530
commiteec0a222e8d3b3a553896015c7e213d3cee28918 (patch)
tree9d5f5683b1f01376f752c73c4b2668d181499547
parent5c6f63d4a8da4e5bb8dc32edb0ba54c024f13ab9 (diff)
downloadr_textbook_companion-eec0a222e8d3b3a553896015c7e213d3cee28918.tar.gz
r_textbook_companion-eec0a222e8d3b3a553896015c7e213d3cee28918.tar.bz2
r_textbook_companion-eec0a222e8d3b3a553896015c7e213d3cee28918.zip
Modified page arguments for generate pdf
-rwxr-xr-xtextbook_companion.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/textbook_companion.module b/textbook_companion.module
index be27817..5771c72 100755
--- a/textbook_companion.module
+++ b/textbook_companion.module
@@ -703,10 +703,10 @@ function textbook_companion_menu()
$items['textbook-companion/certificate/generate-pdf'] = array(
'title' => 'Download Certificate',
'description' => 'Download Certificate',
- 'page callback' => 'generate_pdf',
- /*'page arguments' => array(
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array(
'generate_pdf'
- ),*/
+ ),
'access arguments' => array(
'generate pdf'
),