Revert "Fix SQL error when creating subscription"
This reverts commit d422fc8a11.
This commit is contained in:
parent
d422fc8a11
commit
0b3e2e92e2
@ -332,7 +332,7 @@ if ($user->rights->adherent->cotisation->creer && $action == 'subscription' && !
|
|||||||
if ($inserturlid > 0)
|
if ($inserturlid > 0)
|
||||||
{
|
{
|
||||||
// Update table subscription
|
// Update table subscription
|
||||||
$sql ="UPDATE ".MAIN_DB_PREFIX."subscription SET fk_bank=".$inserturlid;
|
$sql ="UPDATE ".MAIN_DB_PREFIX."subscription SET fk_bank=".$insertid;
|
||||||
$sql.=" WHERE rowid=".$crowid;
|
$sql.=" WHERE rowid=".$crowid;
|
||||||
|
|
||||||
dol_syslog("subscription::subscription", LOG_DEBUG);
|
dol_syslog("subscription::subscription", LOG_DEBUG);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user