Closed (fixed)
Project:
Certificate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2012 at 21:29 UTC
Updated:
14 Feb 2013 at 14:18 UTC
When using this with the latest print_pdf dev module, i got an error while generating pdf.
it seem that print_pdf function has changed a bit so some changes is required in certificate.pages.inc
old
print_pdf_generate_html(array('node' => $node), $output, $node->title . '.pdf');
new
print_pdf_generate_html($output, array('node' => $node), $node->title . '.pdf');
Comments
Comment #1
djdevinConfirmed...we'll just have to add a check somewhere like a function_exists to verify the version of Print.
Comment #2
tempo22 commentedWell, my correction is incorrect, the function actually require more meta parameters.
Comment #3
djdevinCommitted 6504c46: added wrapper for calling different versions of print_pdf_generate_html()
Comment #5
bladwin commentedCan someone mark this RTBC if this issue has in fact been resolved or committed to the latest dev release?
Comment #6
djdevinHi,
It was committed in my #3 comment, and marked as fixed.
Related issue #1892454: Call to undefined function drupal_get_installed_schema_version() was also fixed. Both are available in the dev release.