From afce2f92e11973864be541290ff9ac0a8937444a Mon Sep 17 00:00:00 2001 From: lkmorlan <lkmorlan@493050.no-reply.drupal.org> Date: Thu, 29 Mar 2018 15:54:10 -0400 Subject: [PATCH] Issue #2948793 by Liam Morland: Correct $reset in fillpdf_load() --- fillpdf.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fillpdf.module b/fillpdf.module index 9ac978b..faa888b 100644 --- a/fillpdf.module +++ b/fillpdf.module @@ -1670,7 +1670,7 @@ function _fillpdf_transform_field_value($value, $pdf_replacements, $field_replac function fillpdf_load($fid, $reset = FALSE) { // Cache query results. static $fillpdf = array(); - if (!isset($fillpdf[$fid]) || !$reset) { + if (!isset($fillpdf[$fid]) || $reset) { $fillpdf[$fid] = db_query("SELECT * FROM {fillpdf_forms} WHERE fid = :fid", array(':fid' => $fid))->fetch(); } -- GitLab