Skip to content

Commit e7f764c

Browse files
committed
Update subscription.php
1 parent 9a2a112 commit e7f764c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

subscription.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@
385385
if (empty($reshook)) {
386386
$subject = '';
387387
$msg = '';
388-
388+
$object = new Adherent($db);
389+
$object->fetch($memberid);
390+
$memberid = $object->id;
389391
// Send subscription email
390392
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';
391393
$formmail = new FormMail($db);

0 commit comments

Comments
 (0)