Cleanup.
[fa-stable.git] / reporting / rep107.php
index 33455a1948c4e0bb51b51a4873fac8fc6bb696d8..1f081ee2204be4cbf17923a039d7a069750b0b10 100644 (file)
@@ -219,11 +219,6 @@ function print_invoices()
                        if ($email == 1)
                        {
                                $myrow['dimension_id'] = $paylink; // helper for pmt link
-                               if ($myrow['email'] == '')
-                               {
-                                       $myrow['email'] = $branch['email'];
-                                       $myrow['DebtorName'] = $branch['br_name'];
-                               }
                                $rep->End($email, $doc_Invoice_no . " " . $myrow['reference'], $myrow, $j);
                        }
                }