Fixed email multiplication when bulk work order report is generated.
[fa-stable.git] / reporting / rep409.php
index 57ed978d603d8d340024bc2518df4f4ed7d1c292..a57974260ce9c0f28b7f8d5fd0609b940a1f667a 100644 (file)
@@ -81,7 +81,7 @@ function print_workorders()
                else
                        $rep->title = _('WORK ORDER');
 
-               $contact[] = array('email' =>$myrow['email'],'lang' => $dflt_lang,
+               $contact = array('email' =>$myrow['email'],'lang' => $dflt_lang, // ???
                        'name' => $myrow['contact'], 'name2' => '', 'contact');
 
                $rep->SetCommonData($myrow, null, null, '', 26, $contact);