The $flatten variable is only set within the "local" section of the switch statement in the pdf_forms_fill function. However, other cases also use the $flatten variable. I've supplied a patch that moves the definition of $flatten outside of the switch statement.

Thanks.

CommentFileSizeAuthor
initialize_options.patch1.2 KBJuliaKoelsch
Support from Acquia helps fund testing for Drupal Acquia logo