From 7ebb0833aee4208befc28ad03568e905be25e6a5 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 11 Oct 2009 21:51:01 +0000 Subject: [PATCH] [0000168] Undefined variable: paylink in file rep110.php --- CHANGELOG.txt | 5 +++++ reporting/includes/pdf_report.inc | 2 +- reporting/rep110.php | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d63ba3d2..33eeda9f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +11-Oct-2000 Joe Hunt +# [0000168] Undefined variable: paylink in file rep110.php +$ /reporting/rep110.php + /reporting/includes/pdf_report.inc + 11-Oct-2009 Janusz Dobrowolski + Added security area for sales quotes entry $ /applications/customers.php diff --git a/reporting/includes/pdf_report.inc b/reporting/includes/pdf_report.inc index db9e6649..67d23e84 100644 --- a/reporting/includes/pdf_report.inc +++ b/reporting/includes/pdf_report.inc @@ -432,7 +432,7 @@ class FrontReport extends Cpdf require_once($path_to_root . "/reporting/includes/class.mail.inc"); $mail = new email($this->company['coy_name'], $this->company['email']); if (!isset($myrow['email']) || $myrow['email'] == '') - $myrow['email'] = $myrow['contact_email']; + $myrow['email'] = isset($myrow['contact_email']) ? $myrow['contact_email'] : ''; $to = $myrow['DebtorName'] . " <" . $myrow['email'] . ">"; $msg = $doc_Dear_Sirs . " " . $myrow['DebtorName'] . ",\n\n" . $doc_AttachedFile . " " . $subject . "\n\n"; diff --git a/reporting/rep110.php b/reporting/rep110.php index d1665aa2..fc330428 100644 --- a/reporting/rep110.php +++ b/reporting/rep110.php @@ -191,7 +191,6 @@ function print_deliveries() } if ($email == 1) { - $myrow['dimension_id'] = $paylink; // helper for pmt link if ($myrow['email'] == '') { $myrow['email'] = $branch['email']; -- 2.30.2