# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /home/mistknight/www/sbm/sites/all/modules/print
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: print_pdf/print_pdf.pages.inc
--- print_pdf/print_pdf.pages.inc Base (BASE)
+++ print_pdf/print_pdf.pages.inc Locally Modified (Based On LOCAL)
@@ -22,6 +22,9 @@
 function print_pdf_controller() {
   global $base_url;
 
+  // load node
+  $node = node_load(arg(1));
+
   // Disable caching for generated PDFs, as Drupal doesn't ouput the proper headers from the cache
   $GLOBALS['conf']['cache'] = FALSE;
 
