Fixing style errors.
This commit is contained in:
parent
690562c22e
commit
46ac466d3c
@ -651,7 +651,7 @@ class Adherent extends CommonObject
|
|||||||
// auto code
|
// auto code
|
||||||
$modfile = dol_buildpath('core/modules/member/'.getDolGlobalString('MEMBER_CODEMEMBER_ADDON').'.php', 0);
|
$modfile = dol_buildpath('core/modules/member/'.getDolGlobalString('MEMBER_CODEMEMBER_ADDON').'.php', 0);
|
||||||
try {
|
try {
|
||||||
require_once($modfile);
|
require_once $modfile;
|
||||||
$modname = getDolGlobalString('MEMBER_CODEMEMBER_ADDON');
|
$modname = getDolGlobalString('MEMBER_CODEMEMBER_ADDON');
|
||||||
$modCodeMember = new $modname;
|
$modCodeMember = new $modname;
|
||||||
$this->ref = $modCodeMember->getNextValue($mysoc, $this);
|
$this->ref = $modCodeMember->getNextValue($mysoc, $this);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user