The function print_pdf_generate_path() tries to use an undefined variable $filename.

<?php
  watchdog('print_pdf', 'Failed to write to "%f".', array('%f' => $filename), WATCHDOG_ERROR);
?>
CommentFileSizeAuthor
#1 undefined_variables-2485063-1.patch1.68 KBSpadXIII
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SpadXIII’s picture

Status: Active » Needs review
FileSize
1.68 KB

Here's a small patch that fixes these undefined variables.

jcnventura’s picture

Status: Needs review » Closed (outdated)

Fixed independently using coder to check for these situations back in November 2016.