No, it's not same update. First it deletes the link to thirdparty for other members linked to it Then it link the member (not same member of delete) to the new thirdparty.
Goal is to have on link between memeber and thirdparty for each thirdparty. Le 11/01/2013 17:28, Marcos García a écrit : > Hi, > > I've been doing tests for adherent.class.php and I found a piece of > code that I think it is duplicated. In branch develop or 3.3, file > /adherents/class/adherent.class.php, function setThirdParty lines > 953-965. I see it deletes the previous fk_soc field and then it > updates it with a new one. Wouldn't be the same changing or removing > in the same query? > > Regards, > > > *Marcos García* > > [email protected] <mailto:[email protected]> > > > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev -- Eldy (Laurent Destailleur). EMail: [email protected] Web: http://www.destailleur.fr Dolibarr (Project leader): http://www.dolibarr.org To make a donation for Dolibarr project via Paypal: [email protected] AWStats (Author) : http://awstats.sourceforge.net To make a donation for AWStats project via Paypal: [email protected] AWBot (Author) : http://awbot.sourceforge.net CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
