[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3593] trunk/LedgerSMB/RP.pm
- Subject: SF.net SVN: ledger-smb:[3593] trunk/LedgerSMB/RP.pm
- From: ..hidden..
- Date: Fri, 29 Jul 2011 20:24:29 +0000
Revision: 3593
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3593&view=rev
Author: ehuelsmann
Date: 2011-07-29 20:24:29 +0000 (Fri, 29 Jul 2011)
Log Message:
-----------
Followup to r3592, based on Chris Travers's review.
Modified Paths:
--------------
trunk/LedgerSMB/RP.pm
Modified: trunk/LedgerSMB/RP.pm
===================================================================
--- trunk/LedgerSMB/RP.pm 2011-07-29 20:17:15 UTC (rev 3592)
+++ trunk/LedgerSMB/RP.pm 2011-07-29 20:24:29 UTC (rev 3593)
@@ -1882,8 +1882,7 @@
$sth = $dbh->prepare($query);
$sth->execute( $form->{"$form->{ct}_id"} );
while (my $ref = $sth->fetchrow_hashref('NAME_lc')){
- $form->{ $form->{ct} } .=
- ($form->{ $form{ct} } ? ", " : "") . $ref->{name};
+ $form->{ $form->{ct} } = $ref->{name}; # each 'name' row is the same
$form->{ lc($ref->{class}) } .=
($form->{ lc($ref->{class}) } ? ", " : "") . $ref->{contact};
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.