Fix: bug #18295: Module adhrent : cotisation non associe compte bancaire dans liste cotisations

This commit is contained in:
Laurent Destailleur 2006-11-26 20:07:33 +00:00
parent 027924ee9b
commit 7560fdd44e

View File

@ -799,7 +799,7 @@ class Adherent
if ($inserturlid > 0)
{
// Met a jour la table cotisation
$sql="UPDATE ".MAIN_DB_PREFIX."cotisation SET fk_bank=".$insertid." WHERE rowid=".$crowid;
$sql="UPDATE ".MAIN_DB_PREFIX."cotisation SET fk_bank=".$insertid." WHERE rowid=".$rowid;
$resql = $this->db->query($sql);
if (! $resql)
{