Skip to content

Commit

Permalink
39357: BookingManager: ilBookingReservation::setGroupId(): Argument #1
Browse files Browse the repository at this point in the history
…() must be of type int, null given
  • Loading branch information
alex40724 committed Dec 11, 2023
1 parent 4251b2b commit d296001
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ protected function read(): void
if ($this->id) {
$row = $this->repo->getForId($this->id);
$this->setUserId($row['user_id']);
$this->setAssignerId($row['assigner_id']);
$this->setAssignerId((int) $row['assigner_id']);
$this->setObjectId($row['object_id']);
$this->setFrom($row['date_from']);
$this->setTo($row['date_to']);
$this->setStatus($row['status']);
$this->setGroupId($row['group_id']);
$this->setContextObjId($row['context_obj_id']);
$this->setGroupId((int) $row['group_id']);
$this->setContextObjId((int) $row['context_obj_id']);
}
}

Expand Down

0 comments on commit d296001

Please sign in to comment.