[0000168] Undefined variable: paylink in file rep110.php
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 11 Oct 2009 21:51:01 +0000 (21:51 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 11 Oct 2009 21:51:01 +0000 (21:51 +0000)
CHANGELOG.txt
reporting/includes/pdf_report.inc
reporting/rep110.php

index d63ba3d216891c94d563101d786420f2065fdfd6..33eeda9f1c46826a572ea0d5cbaca16d7cde5f87 100644 (file)
@@ -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
index db9e66498429d81ffb65d869e0c601068ecdf8de..67d23e84cbdca7ce6792646925b5ff888f1ceb96 100644 (file)
@@ -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";
index d1665aa2deb368d3472d7786c36c5d4cfd565c50..fc330428b7f6af2f030b9dd28198f467b8cf6489 100644 (file)
@@ -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'];