Merged changes from main CVS up to 2.1.5
[fa-stable.git] / reporting / rep702.php
index b1a96672fac0b538990033aca83d095c39de7d17..26a09c2da78f9baec4f0077765c5837c74b01dec 100644 (file)
@@ -88,7 +88,12 @@ function print_list_of_journal_entries()
             $coms =  payment_person_types::person_name($myrow["person_type_id"],$myrow["person_id"]);
             $memo = get_comments_string($myrow['type'], $myrow['type_no']);
             if ($memo != '')
-               $coms .= ($coms!= "")?"/":"" . $memo;
+            {
+               if ($coms == "")
+                       $coms = $memo;
+               else
+                       $coms .= " / ".$memo;
+            }          
             $rep->TextCol(3, 6, $coms);
             $rep->NewLine(2);
         }