* Fix #37675 API Post eventattendee sets ref to same as id * Move empty ref check after fetch #38274 --------- Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
This commit is contained in:
parent
1b94023550
commit
40b4e8744f
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class ConferenceOrBoothAttendee extends CommonObject
|
|||
$result = $this->createCommon($user, $notrigger);
|
||||
if ($result > 0) {
|
||||
$result = $this->fetch($result);
|
||||
if ($result > 0) {
|
||||
if ($result > 0 && empty($this->ref)) {
|
||||
$this->ref = (string) $this->id;
|
||||
$result = $this->update($user);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue