From 3c29f7810e4e489e286800d5e29510235b7444bc Mon Sep 17 00:00:00 2001 From: Liam Morland <lkmorlan@493050.no-reply.drupal.org> Date: Thu, 21 Apr 2022 18:23:29 +0000 Subject: [PATCH] Issue #3276500: pdftk binary check fails --- fillpdf.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fillpdf.module b/fillpdf.module index 5eaa5f5..6097c4b 100644 --- a/fillpdf.module +++ b/fillpdf.module @@ -2074,7 +2074,7 @@ function fillpdf_pdftk_check($pdftk_path = 'pdftk') { return FALSE; } // Check if version output includes "pdftk". - elseif (!strpos($output, 'pdftk')) { + elseif (strpos($output, 'pdftk') === FALSE) { return FALSE; } return TRUE; -- GitLab